@@ -6,34 +6,86 @@ module.exports = {
6
6
'error' ,
7
7
'always'
8
8
] ,
9
+ 'array-callback-return' : [
10
+ 'error'
11
+ ] ,
12
+ 'array-element-newline' : [
13
+ 'error' ,
14
+ 'consistent'
15
+ ] ,
16
+ 'arrow-spacing' : [
17
+ 'error'
18
+ ] ,
9
19
'block-scoped-var' : [
10
20
'error'
11
21
] ,
12
22
'brace-style' : [
13
23
'error'
14
24
] ,
25
+ 'comma-spacing' : [
26
+ 'error'
27
+ ] ,
15
28
'curly' : [
16
29
'error' ,
17
30
'multi-or-nest' ,
18
31
'consistent'
19
32
] ,
33
+ 'default-case-last' : [
34
+ 'error'
35
+ ] ,
36
+ 'default-param-last' : [
37
+ 'error'
38
+ ] ,
39
+ 'dot-notation' : [
40
+ 'error'
41
+ ] ,
42
+ 'eol-last' : [
43
+ 'error'
44
+ ] ,
45
+ 'eqeqeq' : [
46
+ 'error' ,
47
+ 'smart'
48
+ ] ,
49
+ 'func-call-spacing' : [
50
+ 'error'
51
+ ] ,
20
52
'indent' : [
21
53
'error' ,
22
54
'tab' ,
23
55
{
24
56
'SwitchCase' : 1
25
57
}
26
58
] ,
59
+ 'key-spacing' : [
60
+ 'error'
61
+ ] ,
62
+ 'keyword-spacing' : [
63
+ 'error'
64
+ ] ,
27
65
'linebreak-style' : [
28
66
'error' ,
29
67
'unix'
30
68
] ,
69
+ 'lines-between-class-members' : [
70
+ 'error'
71
+ ] ,
31
72
'max-len' : [
32
73
'error' ,
33
74
{
34
- 'code' : 80
75
+ 'code' : 80 ,
76
+ 'tabWidth' : 8
35
77
}
36
78
] ,
79
+ 'multiline-comment-style' : [
80
+ 'error' ,
81
+ 'starred-block'
82
+ ] ,
83
+ 'no-array-constructor' : [
84
+ 'error'
85
+ ] ,
86
+ 'no-await-in-loop' : [
87
+ 'warn'
88
+ ] ,
37
89
'no-else-return' : [
38
90
'error'
39
91
] ,
@@ -43,15 +95,42 @@ module.exports = {
43
95
'no-extra-parens' : [
44
96
'error'
45
97
] ,
98
+ 'no-implicit-coercion' : [
99
+ 'error'
100
+ ] ,
101
+ 'no-lonely-if' : [
102
+ 'error'
103
+ ] ,
104
+ 'no-multi-spaces' : [
105
+ 'error'
106
+ ] ,
107
+ 'no-multiple-empty-lines' : [
108
+ 'error'
109
+ ] ,
110
+ 'no-promise-executor-return' : [
111
+ 'error'
112
+ ] ,
113
+ 'no-return-assign' : [
114
+ 'error'
115
+ ] ,
46
116
'no-self-compare' : [
47
117
'error'
48
118
] ,
49
119
'no-template-curly-in-string' : [
50
120
'error'
51
121
] ,
122
+ 'no-trailing-spaces' : [
123
+ 'error'
124
+ ] ,
125
+ 'no-unneeded-ternary' : [
126
+ 'error'
127
+ ] ,
52
128
'no-unreachable-loop' : [
53
129
'error'
54
130
] ,
131
+ 'no-unused-private-class-members' : [
132
+ 'error'
133
+ ] ,
55
134
'no-unused-vars' : [
56
135
'error' ,
57
136
{
@@ -60,24 +139,77 @@ module.exports = {
60
139
'varsIgnorePattern' : '^_'
61
140
}
62
141
] ,
142
+ 'no-use-before-define' : [
143
+ 'error'
144
+ ] ,
145
+ 'no-useless-constructor' : [
146
+ 'error'
147
+ ] ,
63
148
'no-useless-return' : [
64
149
'error'
65
150
] ,
151
+ 'no-var' : [
152
+ 'error'
153
+ ] ,
154
+ 'no-whitespace-before-property' : [
155
+ 'error'
156
+ ] ,
157
+ 'nonblock-statement-body-position' : [
158
+ 'error' ,
159
+ 'below'
160
+ ] ,
66
161
'object-curly-spacing' : [
67
162
'error' ,
68
163
'always'
69
164
] ,
165
+ 'operator-linebreak' : [
166
+ 'error' ,
167
+ 'after'
168
+ ] ,
169
+ 'padded-blocks' : [
170
+ 'error' ,
171
+ 'never'
172
+ ] ,
173
+ 'prefer-const' : [
174
+ 'error'
175
+ ] ,
70
176
'quotes' : [
71
177
'error' ,
72
178
'single'
73
179
] ,
180
+ 'require-await' : [
181
+ 'error'
182
+ ] ,
183
+ 'rest-spread-spacing' : [
184
+ 'error'
185
+ ] ,
74
186
'semi' : [
75
187
'error' ,
76
188
'always'
77
189
] ,
190
+ 'semi-spacing' : [
191
+ 'error'
192
+ ] ,
193
+ 'space-before-function-paren' : [
194
+ 'error' ,
195
+ {
196
+ 'anonymous' : 'always' ,
197
+ 'named' : 'never' ,
198
+ 'asyncArrow' : 'always'
199
+ }
200
+ ] ,
78
201
'strict' : [
79
202
'error' ,
80
203
'global'
204
+ ] ,
205
+ 'switch-colon-spacing' : [
206
+ 'error'
207
+ ] ,
208
+ 'template-curly-spacing' : [
209
+ 'error'
210
+ ] ,
211
+ 'yoda' : [
212
+ 'error'
81
213
]
82
214
}
83
215
} ;
0 commit comments