misc: eslint is dumb

This commit is contained in:
Seaswimmer 2023-08-21 12:11:07 -04:00
parent 1dd3baf0c3
commit 7597dbc05c
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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",