eslint-plugin-svelte
Version:
ESLint plugin for Svelte using AST
12 lines (11 loc) • 373 B
TypeScript
import type { SvelteNodeListener } from '../../types-for-node.js';
import type { IndentContext } from './commons.js';
type NodeListener = SvelteNodeListener;
/**
* Creates AST event handlers for svelte nodes.
*
* @param context The rule context.
* @returns AST event handlers.
*/
export declare function defineVisitor(context: IndentContext): NodeListener;
export {};