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
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -1,22 +1,8 @@
module.exports = { module.exports = {
"root": true, root: true,
"extends": "standard", extends: ['standard'],
"env": { env: {
"node": true node: true
}, },
"rules": { 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"]
}
};