misc: eslint is dumb
This commit is contained in:
parent
1dd3baf0c3
commit
7597dbc05c
1 changed files with 4 additions and 4 deletions
|
@ -8,8 +8,8 @@
|
|||
"ecmaVersion": 2021
|
||||
},
|
||||
"rules": {
|
||||
"no-unused-vars": "warn",
|
||||
"arrow-spacing": ["warn", { "before": true, "after": true }],
|
||||
"brace-style": ["error", "stroustrup", { "allowSingleLine": true }],
|
||||
"comma-dangle": ["error", "always-multiline"],
|
||||
"comma-spacing": "error",
|
||||
"comma-style": "error",
|
||||
|
@ -25,10 +25,10 @@
|
|||
"no-floating-decimal": "error",
|
||||
"no-inline-comments": "error",
|
||||
"no-lonely-if": "error",
|
||||
"no-multi-spaces": "error",
|
||||
"no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1, "maxBOF": 0 }],
|
||||
"no-multi-spaces": "warn",
|
||||
"no-multiple-empty-lines": ["warn", { "max": 2, "maxEOF": 1, "maxBOF": 0 }],
|
||||
"no-shadow": ["error", { "allow": ["err", "resolve", "reject"] }],
|
||||
"no-trailing-spaces": ["error"],
|
||||
"no-trailing-spaces": ["warn"],
|
||||
"no-var": "error",
|
||||
"object-curly-spacing": ["error", "always"],
|
||||
"prefer-const": "error",
|
||||
|
|
Loading…
Reference in a new issue