UNPKG

428 BTypeScriptView Raw
1import { Rule } from 'eslint';
2import type { ESLintSettings, Extension } from './types';
3
4declare function ignore(path: string, context: Rule.RuleContext): boolean;
5
6declare function getFileExtensions(settings: ESLintSettings): Set<Extension>;
7
8declare function hasValidExtension(path: string, context: Rule.RuleContext): path is `${string}${Extension}`;
9
10export default ignore;
11
12export { getFileExtensions, hasValidExtension }
13
\No newline at end of file