This repository was archived by the owner on Feb 11, 2025. It is now read-only.
File tree 5 files changed +116
-63
lines changed
5 files changed +116
-63
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,14 @@ module.exports = {
14
14
*
15
15
* 🔧 Fixable - https://typescript-eslint.io/rules/consistent-type-imports/
16
16
*/
17
- '@typescript-eslint/consistent-type-imports' : 'warn' ,
17
+ '@typescript-eslint/consistent-type-imports' : [
18
+ 'warn' ,
19
+ {
20
+ disallowTypeAnnotations : true ,
21
+ fixStyle : 'inline-type-imports' ,
22
+ prefer : 'type-imports' ,
23
+ } ,
24
+ ] ,
18
25
/**
19
26
* Require explicit return types on functions and class methods.
20
27
*
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -8,18 +8,14 @@ module.exports = {
8
8
{
9
9
files : TYPESCRIPT_FILES ,
10
10
extends : [
11
- 'plugin:@typescript-eslint/recommended' ,
12
11
'plugin:@typescript-eslint/recommended-type-checked' ,
13
- 'plugin:@typescript-eslint/strict' ,
14
12
'plugin:@typescript-eslint/strict-type-checked' ,
15
- 'plugin:@typescript-eslint/stylistic' ,
16
13
'plugin:@typescript-eslint/stylistic-type-checked' ,
17
14
'plugin:import/typescript' ,
18
15
'prettier' ,
19
16
require . resolve ( './rules/typescript' ) ,
20
17
require . resolve ( './rules/typescript/extension' ) ,
21
18
require . resolve ( './rules/typescript/import' ) ,
22
- require . resolve ( './rules/typescript/strict' ) ,
23
19
require . resolve ( './rules/tsdoc' ) ,
24
20
] ,
25
21
} ,
Original file line number Diff line number Diff line change 40
40
"@babel/core" : " ^7.24.0" ,
41
41
"@babel/eslint-parser" : " ^7.23.10" ,
42
42
"@rushstack/eslint-patch" : " ^1.7.2" ,
43
- "@typescript-eslint/eslint-plugin" : " ^6.21.0 " ,
44
- "@typescript-eslint/parser" : " ^6.21.0 " ,
43
+ "@typescript-eslint/eslint-plugin" : " ^7.1.1 " ,
44
+ "@typescript-eslint/parser" : " ^7.1.1 " ,
45
45
"eslint-config-prettier" : " ^9.1.0" ,
46
46
"eslint-import-resolver-alias" : " ^1.1.2" ,
47
47
"eslint-import-resolver-typescript" : " ^3.6.1" ,
You can’t perform that action at this time.
0 commit comments