mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 18:25:21 -04:00
Merge pull request #1539 from hedgedoc/maint/cleanup_eslint_config
Cleanup ESLint config
This commit is contained in:
commit
a1be1c3695
1 changed files with 6 additions and 20 deletions
26
.eslintrc.js
26
.eslintrc.js
|
@ -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"]
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue