mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
858a59529e
most rules degraded to WARN, so we don't go insane. This will change over time. The aim is to conform to a common style Signed-off-by: Claudius Coenen <opensource@amenthes.de>
21 lines
552 B
JavaScript
21 lines
552 B
JavaScript
module.exports = {
|
|
"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-multiple-empty-lines": ["warn"],
|
|
"no-multi-spaces": ["warn"],
|
|
"object-curly-spacing": ["warn"],
|
|
"one-var": ["warn"],
|
|
"quotes": ["warn"],
|
|
"semi": ["warn"],
|
|
"space-infix-ops": ["warn"]
|
|
}
|
|
};
|