Merge pull request #1539 from hedgedoc/maint/cleanup_eslint_config

Cleanup ESLint config
This commit is contained in:
David Mehren 2021-08-15 20:11:18 +02:00 committed by GitHub
commit a1be1c3695
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: {}
}