@@ -5,62 +5,56 @@ module.exports = {
5
5
es6 : true ,
6
6
} ,
7
7
globals : {
8
- window : " readonly" ,
8
+ window : ' readonly' ,
9
9
} ,
10
- parser : " @typescript-eslint/parser" ,
10
+ parser : ' @typescript-eslint/parser' ,
11
11
parserOptions : {
12
- parser : " @babel/eslint-parser" ,
12
+ parser : ' @babel/eslint-parser' ,
13
13
ecmaVersion : 6 ,
14
- sourceType : " module" ,
14
+ sourceType : ' module' ,
15
15
} ,
16
16
extends : [
17
- " airbnb" ,
18
- " plugin:react/recommended" ,
19
- " plugin:react-hooks/recommended" ,
20
- " plugin:jsx-a11y/recommended" ,
21
- " plugin:@typescript-eslint/eslint-recommended" ,
22
- " plugin:@typescript-eslint/recommended" ,
23
- " prettier" ,
17
+ ' airbnb' ,
18
+ ' plugin:react/recommended' ,
19
+ ' plugin:react-hooks/recommended' ,
20
+ ' plugin:jsx-a11y/recommended' ,
21
+ ' plugin:@typescript-eslint/eslint-recommended' ,
22
+ ' plugin:@typescript-eslint/recommended' ,
23
+ ' prettier' ,
24
24
] ,
25
25
settings : {
26
- " import/resolver" : {
26
+ ' import/resolver' : {
27
27
node : {
28
- paths : [ "." , " src" ] ,
29
- extensions : [ " .js" , " .ts" ] ,
28
+ paths : [ '.' , ' src' ] ,
29
+ extensions : [ ' .js' , ' .ts' ] ,
30
30
} ,
31
31
} ,
32
32
} ,
33
- plugins : [
34
- "prettier" ,
35
- "react" ,
36
- "jsx-a11y" ,
37
- "react-hooks" ,
38
- "@typescript-eslint" ,
39
- ] ,
33
+ plugins : [ 'prettier' , 'react' , 'jsx-a11y' , 'react-hooks' , '@typescript-eslint' ] ,
40
34
rules : {
41
- " import/extensions" : " off" ,
42
- " import/prefer-default-export" : " off" ,
43
- " import/no-webpack-loader-syntax" : " off" ,
44
- " import/no-unresolved" : " off" ,
45
- " import/no-extraneous-dependencies" : " off" ,
46
- " no-use-before-define" : " off" ,
47
- " no-console" : " off" ,
48
- " no-extend-native" : " off" ,
49
- " no-param-reassign" : " off" ,
50
- " class-methods-use-this" : " off" ,
51
- " node/no-unpublished-require" : " off" ,
52
- " node/no-missing-import" : " off" ,
53
- " node/no-unpublished-import" : " off" ,
54
- " dot-notation" : [ " error" , { allowKeywords : true } ] ,
55
- " @typescript-eslint/explicit-module-boundary-types" : " off" ,
56
- " @typescript-eslint/no-explicit-any" : " off" ,
57
- " @typescript-eslint/no-var-requires" : " off" ,
58
- " func-names" : " off" ,
59
- " no-underscore-dangle" : " off" ,
60
- camelcase : " warn" ,
61
- " no-plusplus" : " off" ,
62
- " no-nested-ternary" : " off" ,
63
- " @typescript-eslint/ban-types" : " warn" ,
64
- " no-unused-expressions" : " off" ,
35
+ ' import/extensions' : ' off' ,
36
+ ' import/prefer-default-export' : ' off' ,
37
+ ' import/no-webpack-loader-syntax' : ' off' ,
38
+ ' import/no-unresolved' : ' off' ,
39
+ ' import/no-extraneous-dependencies' : ' off' ,
40
+ ' no-use-before-define' : ' off' ,
41
+ ' no-console' : ' off' ,
42
+ ' no-extend-native' : ' off' ,
43
+ ' no-param-reassign' : ' off' ,
44
+ ' class-methods-use-this' : ' off' ,
45
+ ' node/no-unpublished-require' : ' off' ,
46
+ ' node/no-missing-import' : ' off' ,
47
+ ' node/no-unpublished-import' : ' off' ,
48
+ ' dot-notation' : [ ' error' , { allowKeywords : true } ] ,
49
+ ' @typescript-eslint/explicit-module-boundary-types' : ' off' ,
50
+ ' @typescript-eslint/no-explicit-any' : ' off' ,
51
+ ' @typescript-eslint/no-var-requires' : ' off' ,
52
+ ' func-names' : ' off' ,
53
+ ' no-underscore-dangle' : ' off' ,
54
+ camelcase : ' warn' ,
55
+ ' no-plusplus' : ' off' ,
56
+ ' no-nested-ternary' : ' off' ,
57
+ ' @typescript-eslint/ban-types' : ' warn' ,
58
+ ' no-unused-expressions' : ' off' ,
65
59
} ,
66
60
} ;
0 commit comments