UNPKG

@masknet/eslint-plugin

Version:
13 lines 672 B
import type { TSESTree } from '@typescript-eslint/types'; import type { ReportFixFunction, RuleListener } from '@typescript-eslint/utils/ts-eslint'; export interface Options { pattern: RegExp['source']; flags: RegExp['flags']; only: 'code' | 'comment'; } declare const _default: any; export default _default; export declare function makeProgramListener(pattern: RegExp, onReport: (node: TSESTree.Token, kind: string) => void): RuleListener; export declare function getFixer(token: TSESTree.Token, pattern: RegExp): ReportFixFunction | undefined; export declare function escape(input: string, pattern: RegExp): string; //# sourceMappingURL=specific-set.d.ts.map