Cleanup ESLint config

This removes unneeded quotation marks and resets all
rules to their default error state.
Treating them only as warnings is not necessary anymore,
 as all warnings fail the CI since 4da68597.

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren
2021-08-14 14:25:16 +02:00
parent cc76201cfb
commit af1ed8bb14

View File

@@ -1,22 +1,8 @@
module.exports = {
"root": true,
"extends": "standard",
"env": {
"node": true
root: true,
extends: ['standard'],
env: {
node: true
},
"rules": {
// at some point all of these should return to their default "error" state
// but right now, this is not a good choice, because too many places are
// wrong.
"import/first": ["warn"],
"indent": ["warn"],
"no-console": ["warn"],
"no-multiple-empty-lines": ["warn"],
"no-multi-spaces": ["warn"],
"object-curly-spacing": ["warn"],
"one-var": ["warn"],
"quotes": ["warn"],
"semi": ["warn"],
"space-infix-ops": ["warn"]
}
};
rules: {}
}