File tree Expand file tree Collapse file tree 3 files changed +246
-9
lines changed Expand file tree Collapse file tree 3 files changed +246
-9
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
root : true ,
3
- extends : [ 'airbnb-base' , 'prettier' ] ,
4
- plugins : [ 'import' ] ,
3
+ parser : '@typescript-eslint/parser' ,
4
+ extends : [
5
+ 'airbnb-base' ,
6
+ 'eslint:recommended' ,
7
+ 'plugin:@typescript-eslint/recommended' ,
8
+ 'plugin:import/typescript' ,
9
+ 'prettier' ,
10
+ ] ,
11
+ plugins : [ '@typescript-eslint' , 'import' ] ,
5
12
rules : {
6
- curly : 'error' ,
13
+ '@typescript-eslint/explicit-module-boundary-types' : 'off' ,
14
+ 'import/extensions' : 'off' ,
15
+ 'import/no-cycle' : 'off' ,
16
+ 'import/prefer-default-export' : 'off' ,
7
17
'no-bitwise' : 'off' ,
8
18
'no-cond-assign' : 'off' ,
19
+ 'no-continue' : 'off' ,
20
+ 'no-use-before-define' : 'off' ,
9
21
'no-mixed-operators' : 'off' ,
10
22
'no-multi-assign' : 'off' ,
11
23
'no-new-func' : 'off' ,
12
24
'no-param-reassign' : 'off' ,
13
25
'no-plusplus' : 'off' ,
14
26
'no-underscore-dangle' : 'off' ,
15
- 'no-continue ' : 'off' ,
16
- 'import/prefer-default-export' : 'off ' ,
27
+ 'operator-linebreak ' : 'off' ,
28
+ curly : 'error ' ,
17
29
} ,
18
30
} ;
Original file line number Diff line number Diff line change 30
30
},
31
31
"devDependencies" : {
32
32
"@babel/preset-typescript" : " ^7.14.5" ,
33
+ "@typescript-eslint/eslint-plugin" : " ^4.28.0" ,
34
+ "@typescript-eslint/parser" : " ^4.28.0" ,
33
35
"eslint" : " ^7.29.0" ,
34
36
"eslint-config-airbnb-base" : " ^14.2.1" ,
35
37
"eslint-config-prettier" : " ^8.3.0" ,
You can’t perform that action at this time.
0 commit comments