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