Update eslint rules
This commit is contained in:
parent
102227c3a3
commit
ebde1f2756
@ -253,7 +253,10 @@ module.exports = {
|
|||||||
"error",
|
"error",
|
||||||
"always"
|
"always"
|
||||||
],
|
],
|
||||||
"object-shorthand": "off",
|
"object-shorthand": [
|
||||||
|
"error",
|
||||||
|
"consistent-as-needed"
|
||||||
|
],
|
||||||
"one-var": "off",
|
"one-var": "off",
|
||||||
"one-var-declaration-per-line": [
|
"one-var-declaration-per-line": [
|
||||||
"error",
|
"error",
|
||||||
@ -266,7 +269,7 @@ module.exports = {
|
|||||||
"operator-linebreak": "error",
|
"operator-linebreak": "error",
|
||||||
"padded-blocks": "off",
|
"padded-blocks": "off",
|
||||||
"padding-line-between-statements": "error",
|
"padding-line-between-statements": "error",
|
||||||
"prefer-arrow-callback": "off",
|
"prefer-arrow-callback": "error",
|
||||||
"prefer-const": "error",
|
"prefer-const": "error",
|
||||||
"prefer-destructuring": "off",
|
"prefer-destructuring": "off",
|
||||||
"prefer-named-capture-group": "off",
|
"prefer-named-capture-group": "off",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user