turn off vue/html-self-closing, empty div should be allowed

This commit is contained in:
LouisLam 2021-07-31 18:31:17 +08:00
parent 4b93900866
commit 659d83b13c

View file

@ -32,6 +32,7 @@ module.exports = {
"vue/html-indent": ["warn", 4], // default: 2 "vue/html-indent": ["warn", 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",
"no-multi-spaces": ["error", { "no-multi-spaces": ["error", {
ignoreEOLComments: true, ignoreEOLComments: true,
}], }],