eslint-plugin-svelte
Version:
ESLint plugin for Svelte using AST
8 lines (7 loc) • 333 B
TypeScript
import type { AST } from 'svelte-eslint-parser';
import type { RuleContext } from '../../../types.js';
import type { TransformResult } from './types.js';
/**
* Transpile with sass
*/
export declare function transform(node: AST.SvelteStyleElement, text: string, context: RuleContext, type: 'scss' | 'sass'): TransformResult | null;