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