This repository was archived by the owner on Mar 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ module.exports = defineConfig({
30
30
'@typescript-eslint/explicit-function-return-type' : [ 'error' , { allowExpressions : true } ] ,
31
31
'@typescript-eslint/interface-name-prefix' : 'off' ,
32
32
'@typescript-eslint/member-ordering' : 'off' ,
33
+ '@typescript-eslint/consistent-type-imports' : [ 'error' , { prefer : 'type-imports' } ] ,
33
34
'@typescript-eslint/no-explicit-any' : 'off' ,
34
35
'@typescript-eslint/no-inferrable-types' : 'off' ,
35
36
'@typescript-eslint/no-non-null-assertion' : 'off' ,
Original file line number Diff line number Diff line change 1
1
import type { Environments } from './env' ;
2
2
import type { Extends } from './extends' ;
3
+ import type { Parser , ParserOptions } from './parser-options' ;
3
4
import type { Rules } from './rules' ;
4
5
5
6
/**
@@ -19,6 +20,20 @@ export interface Override {
19
20
* @see [Extends](https://eslint.org/docs/user-guide/configuring/configuration-files#extending-configuration-files)
20
21
*/
21
22
extends ?: Extends ;
23
+ /**
24
+ * Parser.
25
+ *
26
+ * @see [Working with Custom Parsers](https://eslint.org/docs/developer-guide/working-with-custom-parsers)
27
+ * @see [Specifying Parser](https://eslint.org/docs/user-guide/configuring/plugins#specifying-parser)
28
+ */
29
+ parser ?: Parser ;
30
+ /**
31
+ * Parser Options.
32
+ *
33
+ * @see [Working with Custom Parsers](https://eslint.org/docs/developer-guide/working-with-custom-parsers)
34
+ * @see [Specifying Parser Options](https://eslint.org/docs/user-guide/configuring/language-options#specifying-parser-options)
35
+ */
36
+ parserOptions ?: ParserOptions ;
22
37
/**
23
38
* Specifying Processor.
24
39
*
You can’t perform that action at this time.
0 commit comments