@@ -133,11 +133,7 @@ module.exports = {
133
133
// https://eslint.org/docs/rules/
134
134
'accessor-pairs' : 'error' ,
135
135
'array-callback-return' : 'error' ,
136
- 'arrow-parens' : 'error' ,
137
- 'arrow-spacing' : 'error' ,
138
136
'block-scoped-var' : 'error' ,
139
- 'block-spacing' : 'error' ,
140
- 'brace-style' : [ 'error' , '1tbs' , { allowSingleLine : true } ] ,
141
137
'capitalized-comments' : [ 'error' , 'always' , {
142
138
line : {
143
139
// Ignore all lines that have less characters than 20 and all lines that
@@ -150,49 +146,20 @@ module.exports = {
150
146
ignorePattern : '.*' ,
151
147
} ,
152
148
} ] ,
153
- 'comma-dangle' : [ 'error' , 'always-multiline' ] ,
154
- 'comma-spacing' : 'error' ,
155
- 'comma-style' : 'error' ,
156
- 'computed-property-spacing' : 'error' ,
157
149
'default-case-last' : 'error' ,
158
- 'dot-location' : [ 'error' , 'property' ] ,
159
150
'dot-notation' : 'error' ,
160
151
'eol-last' : 'error' ,
161
152
'eqeqeq' : [ 'error' , 'smart' ] ,
162
153
'func-call-spacing' : 'error' ,
163
154
'func-name-matching' : 'error' ,
164
155
'func-style' : [ 'error' , 'declaration' , { allowArrowFunctions : true } ] ,
165
- 'indent' : [ 'error' , 2 , {
166
- ArrayExpression : 'first' ,
167
- CallExpression : { arguments : 'first' } ,
168
- FunctionDeclaration : { parameters : 'first' } ,
169
- FunctionExpression : { parameters : 'first' } ,
170
- MemberExpression : 'off' ,
171
- ObjectExpression : 'first' ,
172
- SwitchCase : 1 ,
173
- } ] ,
174
- 'key-spacing' : 'error' ,
175
- 'keyword-spacing' : 'error' ,
176
156
'linebreak-style' : 'error' ,
177
- 'max-len' : [ 'error' , {
178
- code : 120 ,
179
- ignorePattern : '^// Flags:' ,
180
- ignoreRegExpLiterals : true ,
181
- ignoreTemplateLiterals : true ,
182
- ignoreUrls : true ,
183
- tabWidth : 2 ,
184
- } ] ,
185
- 'new-parens' : 'error' ,
186
- 'no-confusing-arrow' : 'error' ,
187
157
'no-constant-condition' : [ 'error' , { checkLoops : false } ] ,
188
158
'no-constructor-return' : 'error' ,
189
159
'no-duplicate-imports' : 'error' ,
190
160
'no-else-return' : 'error' ,
191
- 'no-extra-parens' : [ 'error' , 'functions' ] ,
192
161
'no-lonely-if' : 'error' ,
193
162
'no-mixed-requires' : 'error' ,
194
- 'no-multi-spaces' : [ 'error' , { ignoreEOLComments : true } ] ,
195
- 'no-multiple-empty-lines' : [ 'error' , { max : 2 , maxEOF : 0 , maxBOF : 0 } ] ,
196
163
'no-new-require' : 'error' ,
197
164
'no-path-concat' : 'error' ,
198
165
'no-proto' : 'error' ,
@@ -257,10 +224,8 @@ module.exports = {
257
224
} ,
258
225
] ,
259
226
'no-self-compare' : 'error' ,
260
- 'no-tabs' : 'error' ,
261
227
'no-template-curly-in-string' : 'error' ,
262
228
'no-throw-literal' : 'error' ,
263
- 'no-trailing-spaces' : 'error' ,
264
229
'no-undef' : [ 'error' , { typeof : true } ] ,
265
230
'no-undef-init' : 'error' ,
266
231
'no-unused-expressions' : [ 'error' , { allowShortCircuit : true } ] ,
@@ -276,7 +241,6 @@ module.exports = {
276
241
'no-useless-return' : 'error' ,
277
242
'no-var' : 'error' ,
278
243
'no-void' : 'error' ,
279
- 'no-whitespace-before-property' : 'error' ,
280
244
'object-curly-newline' : 'error' ,
281
245
'object-curly-spacing' : [ 'error' , 'always' ] ,
282
246
'one-var' : [ 'error' , { initialized : 'never' } ] ,
@@ -288,11 +252,8 @@ module.exports = {
288
252
] ,
289
253
'prefer-const' : [ 'error' , { ignoreReadBeforeAssign : true } ] ,
290
254
'prefer-object-has-own' : 'error' ,
291
- 'quotes' : [ 'error' , 'single' , { avoidEscape : true } ] ,
292
255
'quote-props' : [ 'error' , 'consistent' ] ,
293
256
'rest-spread-spacing' : 'error' ,
294
- 'semi' : 'error' ,
295
- 'semi-spacing' : 'error' ,
296
257
'space-before-blocks' : [ 'error' , 'always' ] ,
297
258
'space-before-function-paren' : [ 'error' , {
298
259
anonymous : 'never' ,
@@ -308,7 +269,6 @@ module.exports = {
308
269
} ] ,
309
270
'strict' : [ 'error' , 'global' ] ,
310
271
'symbol-description' : 'error' ,
311
- 'template-curly-spacing' : 'error' ,
312
272
'unicode-bom' : 'error' ,
313
273
'valid-typeof' : [ 'error' , { requireStringLiterals : true } ] ,
314
274
0 commit comments