File tree 3 files changed +62
-127
lines changed
3 files changed +62
-127
lines changed Original file line number Diff line number Diff line change 7
7
},
8
8
"extends" : [
9
9
" eslint:recommended" ,
10
- " plugin:jest/recommended"
10
+ " plugin:jest/recommended" ,
11
+ " @matt-fidd"
11
12
],
12
13
"parserOptions" : {
13
14
"ecmaVersion" : " latest"
14
15
},
15
16
"rules" : {
16
- "indent" : [
17
- " error" ,
18
- " tab" ,
19
- {
20
- "SwitchCase" : 1
21
- }
22
- ],
23
- "linebreak-style" : [
24
- " error" ,
25
- " unix"
26
- ],
27
- "quotes" : [
28
- " error" ,
29
- " single" ,
30
- {
31
- "allowTemplateLiterals" : true
32
- }
33
- ],
34
- "semi" : [
35
- " error" ,
36
- " always"
37
- ],
38
- "no-unused-vars" : [
39
- " error" ,
40
- {
41
- "vars" : " local" ,
42
- "argsIgnorePattern" : " ^_" ,
43
- "varsIgnorePattern" : " ^_"
44
- }
45
- ],
46
- "max-len" : [
47
- " error" ,
48
- {
49
- "code" : 80 ,
50
- "tabWidth" : 8
51
- }
52
- ],
53
- "array-bracket-spacing" : [
54
- " error" ,
55
- " always"
56
- ],
57
- "object-curly-spacing" : [
58
- " error" ,
59
- " always"
60
- ],
61
- "no-extra-parens" : [
62
- " error"
63
- ],
64
- "no-template-curly-in-string" : [
65
- " error"
66
- ],
67
- "no-unreachable-loop" : [
68
- " error"
69
- ],
70
- "block-scoped-var" : [
71
- " error"
72
- ],
73
- "curly" : [
74
- " error" ,
75
- " multi-or-nest" ,
76
- " consistent"
77
- ],
78
- "no-alert" : [
79
- " error"
80
- ],
81
- "no-else-return" : [
82
- " error"
83
- ],
84
- "no-empty-function" : [
85
- " error"
86
- ],
87
- "no-self-compare" : [
88
- " error"
89
- ],
90
- "no-useless-return" : [
91
- " error"
92
- ],
93
- "brace-style" : [
94
- " error"
95
- ],
96
- "strict" : [
97
- " error" ,
98
- " global"
99
- ]
100
17
}
101
18
}
Original file line number Diff line number Diff line change 32
32
"serve-static" : " ^1.14.2"
33
33
},
34
34
"devDependencies" : {
35
+ "@matt-fidd/eslint-config" : " ^1.0.0" ,
35
36
"autoprefixer" : " ^10.4.2" ,
36
37
"cssnano" : " ^5.0.17" ,
37
38
"del" : " ^6.0.0" ,
You can’t perform that action at this time.
0 commit comments