|
|
|
@ -20,15 +20,16 @@ |
|
|
|
// "max-len": ["error", { "code": 120 }], |
|
|
|
"max-params": ["warn", 9], |
|
|
|
"max-statements": ["warn", 25], |
|
|
|
"max-statements-per-line": ["error", { "max": 2 }], |
|
|
|
"multiline-comment-style": "off", |
|
|
|
"multiline-ternary": ["error", "always-multiline"], |
|
|
|
"newline-per-chained-call": ["error", { "ignoreChainWithDepth": 5 }], |
|
|
|
"no-extra-parens": ["error", "functions"], |
|
|
|
"no-implicit-globals": "off", |
|
|
|
"no-magic-numbers": "off", |
|
|
|
"no-negated-condition": "off", |
|
|
|
"no-plusplus": "off", |
|
|
|
"no-ternary": "off", |
|
|
|
// "no-use-before-define": ["error", { "functions": false }], |
|
|
|
"no-var": "off", |
|
|
|
"object-curly-newline": ["error", { "consistent": true }], |
|
|
|
"object-property-newline": ["error", { "allowAllPropertiesOnSameLine": true }], |
|
|
|
@ -64,11 +65,9 @@ |
|
|
|
"max-len": "off", |
|
|
|
"max-lines": "off", |
|
|
|
"max-lines-per-function": "off", |
|
|
|
"max-statements-per-line": "off", |
|
|
|
"new-cap": "off", |
|
|
|
"no-inline-comments": "off", |
|
|
|
"no-invalid-this": "off", |
|
|
|
"no-negated-condition": "off", |
|
|
|
"no-underscore-dangle": "off", |
|
|
|
"one-var-declaration-per-line": "off", |
|
|
|
"prefer-spread": "off", |
|
|
|
|