File tree Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Original file line number Diff line number Diff line change 1
- import type { Linter , Rule } from 'eslint' ;
1
+ import type { TSESLint } from '@typescript-eslint/utils' ;
2
+
3
+ import { SupportedTestingFramework } from './lib/utils' ;
2
4
3
5
declare const plugin : {
4
6
meta : {
5
7
name : string ;
6
8
version : string ;
7
9
} ;
8
- configs : {
9
- angular : Linter . LegacyConfig ;
10
- dom : Linter . LegacyConfig ;
11
- marko : Linter . LegacyConfig ;
12
- react : Linter . LegacyConfig ;
13
- vue : Linter . LegacyConfig ;
14
- 'flat/angular' : Linter . FlatConfig ;
15
- 'flat/dom' : Linter . FlatConfig ;
16
- 'flat/marko' : Linter . FlatConfig ;
17
- 'flat/react' : Linter . FlatConfig ;
18
- 'flat/vue' : Linter . FlatConfig ;
19
- } ;
20
- rules : {
21
- [ key : string ] : Rule . RuleModule ;
22
- } ;
10
+ configs : Record < SupportedTestingFramework , TSESLint . ClassicConfig > &
11
+ Record < `flat/${SupportedTestingFramework } `, TSESLint . FlatConfig > ;
12
+ rules : Record < string , TSESLint . RuleModule > ;
23
13
} ;
24
14
25
15
export = plugin ;
You can’t perform that action at this time.
0 commit comments