@@ -4,47 +4,47 @@ module.exports = {
4
4
es2020 : true ,
5
5
} ,
6
6
extends : [
7
- " airbnb" ,
8
- " plugin:react/recommended" ,
9
- " plugin:@typescript-eslint/recommended" ,
7
+ ' airbnb' ,
8
+ ' plugin:react/recommended' ,
9
+ ' plugin:@typescript-eslint/recommended' ,
10
10
] ,
11
- ignorePatterns : [ " */build/**/*" , " *.json" , " *.txt" , " yarn.lock" , " *.yaml" ] ,
12
- parser : " @typescript-eslint/parser" ,
11
+ ignorePatterns : [ ' */build/**/*' , ' *.json' , ' *.txt' , ' yarn.lock' , ' *.yaml' ] ,
12
+ parser : ' @typescript-eslint/parser' ,
13
13
parserOptions : {
14
14
ecmaFeatures : {
15
15
jsx : true ,
16
16
} ,
17
17
ecmaVersion : 11 ,
18
- sourceType : " module" ,
18
+ sourceType : ' module' ,
19
19
} ,
20
- plugins : [ " react" , " @typescript-eslint" ] ,
20
+ plugins : [ ' react' , ' @typescript-eslint' ] ,
21
21
rules : {
22
- semi : [ " error" , " always" ] ,
23
- " no-unused-vars" : " off" ,
24
- " import/extensions" : " off" ,
25
- " import/no-unresolved" : " off" ,
26
- " react/jsx-filename-extension" : " off" ,
27
- indent : [ " error" , 2 ] ,
28
- " linebreak-style" : [ " error" , " unix" ] ,
29
- " object-curly-newline" : " off" ,
30
- " @typescript-eslint/no-explicit-any" : " off" ,
22
+ semi : [ ' error' , ' always' ] ,
23
+ ' no-unused-vars' : ' off' ,
24
+ ' import/extensions' : ' off' ,
25
+ ' import/no-unresolved' : ' off' ,
26
+ ' react/jsx-filename-extension' : ' off' ,
27
+ indent : [ ' error' , 2 ] ,
28
+ ' linebreak-style' : [ ' error' , ' unix' ] ,
29
+ ' object-curly-newline' : ' off' ,
30
+ ' @typescript-eslint/no-explicit-any' : ' off' ,
31
31
} ,
32
32
overrides : [
33
33
{
34
- files : [ " *.tsx" ] ,
34
+ files : [ ' *.tsx' ] ,
35
35
rules : {
36
- " react/prop-types" : " off" ,
37
- " react/jsx-props-no-spreading" : " off" ,
38
- " import/no-extraneous-dependencies" : " off" ,
36
+ ' react/prop-types' : ' off' ,
37
+ ' react/jsx-props-no-spreading' : ' off' ,
38
+ ' import/no-extraneous-dependencies' : ' off' ,
39
39
} ,
40
40
} ,
41
41
{
42
- files : [ " ./src/**/*.spec.ts" , " spec/*.ts" ] ,
42
+ files : [ ' ./src/**/*.spec.ts' , ' spec/*.ts' ] ,
43
43
rules : {
44
- " no-unused-expressions" : " off" ,
45
- " prefer-arrow-callback" : " off" ,
46
- " func-names" : " off" ,
47
- " import/no-extraneous-dependencies" : " off" ,
44
+ ' no-unused-expressions' : ' off' ,
45
+ ' prefer-arrow-callback' : ' off' ,
46
+ ' func-names' : ' off' ,
47
+ ' import/no-extraneous-dependencies' : ' off' ,
48
48
} ,
49
49
} ,
50
50
] ,
0 commit comments