From 659d83b13c65f47e03116278781e2fdabca1893e Mon Sep 17 00:00:00 2001 From: LouisLam Date: Sat, 31 Jul 2021 18:31:17 +0800 Subject: [PATCH] turn off vue/html-self-closing, empty div should be allowed --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 4df65a03..9c31b29e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -32,6 +32,7 @@ module.exports = { "vue/html-indent": ["warn", 4], // default: 2 "vue/max-attributes-per-line": "off", "vue/singleline-html-element-content-newline": "off", + "vue/html-self-closing": "off", "no-multi-spaces": ["error", { ignoreEOLComments: true, }],