mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-09 23:53:00 -06:00
Update eslint rule
This commit is contained in:
parent
4e28ad4ac2
commit
303a226ab7
@ -40,9 +40,9 @@ module.exports = {
|
|||||||
SwitchCase: 1,
|
SwitchCase: 1,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
quotes: [ "warn", "double" ],
|
quotes: [ "error", "double" ],
|
||||||
semi: "error",
|
semi: "error",
|
||||||
"vue/html-indent": [ "warn", 4 ], // default: 2
|
"vue/html-indent": [ "error", 4 ], // default: 2
|
||||||
"vue/max-attributes-per-line": "off",
|
"vue/max-attributes-per-line": "off",
|
||||||
"vue/singleline-html-element-content-newline": "off",
|
"vue/singleline-html-element-content-newline": "off",
|
||||||
"vue/html-self-closing": "off",
|
"vue/html-self-closing": "off",
|
||||||
@ -72,7 +72,7 @@ module.exports = {
|
|||||||
"keyword-spacing": "warn",
|
"keyword-spacing": "warn",
|
||||||
"space-infix-ops": "warn",
|
"space-infix-ops": "warn",
|
||||||
"arrow-spacing": "warn",
|
"arrow-spacing": "warn",
|
||||||
"no-trailing-spaces": "warn",
|
"no-trailing-spaces": "error",
|
||||||
"no-constant-condition": [ "error", {
|
"no-constant-condition": [ "error", {
|
||||||
"checkLoops": false,
|
"checkLoops": false,
|
||||||
}],
|
}],
|
||||||
|
Loading…
Reference in New Issue
Block a user