@@ -13,10 +13,10 @@ module.exports = {
13
13
} ,
14
14
rules : {
15
15
'accessor-pairs' : 'error' ,
16
- 'array-bracket-newline' : [ 'error' , { multiline : true , minItems : 3 } ] ,
16
+ 'array-bracket-newline' : [ 'error' , 'consistent' ] ,
17
17
'array-bracket-spacing' : [ 'error' , 'never' ] ,
18
18
'array-callback-return' : 'error' ,
19
- 'array-element-newline' : [ 'error' , { minItems : 3 } ] ,
19
+ 'array-element-newline' : [ 'error' , { multiline : true } ] ,
20
20
'arrow-body-style' : [ 'error' , 'as-needed' ] ,
21
21
'arrow-parens' : [ 'error' , 'always' ] ,
22
22
'arrow-spacing' : [ 'error' , {
@@ -147,7 +147,6 @@ module.exports = {
147
147
'no-lone-blocks' : 'error' ,
148
148
'no-lonely-if' : 'error' ,
149
149
'no-loop-func' : 'error' ,
150
- 'no-magic-numbers' : [ 'error' , { ignoreArrayIndexes : true } ] ,
151
150
'no-mixed-operators' : [ 'error' , {
152
151
groups : [
153
152
[ '+' , '-' , '*' , '/' , '%' , '**' ] ,
@@ -224,7 +223,7 @@ module.exports = {
224
223
'no-whitespace-before-property' : 'error' ,
225
224
'no-with' : 'error' ,
226
225
'object-curly-newline' : [ 'error' , {
227
- ObjectExpression : { minProperties : 0 , multiline : true } ,
226
+ ObjectExpression : { consistent : true } ,
228
227
ObjectPattern : 'never'
229
228
} ] ,
230
229
'object-curly-spacing' : [ 'error' , 'never' ] ,
@@ -308,10 +307,10 @@ module.exports = {
308
307
'array-bracket-newline' : 'off' ,
309
308
'array-element-newline' : 'off' ,
310
309
'id-length' : 'off' ,
310
+ 'max-lines' : 'off' ,
311
311
'max-nested-callbacks' : 'off' ,
312
312
'max-statements' : 'off' ,
313
313
'newline-after-var' : 'off' ,
314
- 'no-magic-numbers' : 'off' ,
315
314
'no-process-env' : 'off' ,
316
315
'no-unused-expressions' : 'off' ,
317
316
'no-unused-vars' : 'off' ,
0 commit comments