You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
440 B
TypeScript
14 lines
440 B
TypeScript
10 months ago
|
import type { AST } from 'svelte-eslint-parser';
|
||
|
import type { RuleContext } from '../../types';
|
||
|
export type IgnoreItemWithoutCode = {
|
||
|
range: [number, number];
|
||
|
code: null;
|
||
|
token: AST.Token | AST.Comment;
|
||
|
};
|
||
|
export type IgnoreItem = {
|
||
|
range: [number, number];
|
||
|
code: string;
|
||
|
token: AST.Token | AST.Comment;
|
||
|
};
|
||
|
export declare function getSvelteIgnoreItems(context: RuleContext): (IgnoreItem | IgnoreItemWithoutCode)[];
|