1 | import type { Rule } from 'eslint';
|
2 |
|
3 | export type Extension = `.${string}`;
|
4 |
|
5 | export type ESLintSettings = NonNullable<Rule.RuleContext['settings']> & {
|
6 | 'import/extensions'?: Extension[];
|
7 | 'import/parsers'?: { [k: string]: Extension[] };
|
8 | 'import/cache'?: { lifetime: number | '∞' | 'Infinity' };
|
9 | };
|