style: 修改eslint配置

This commit is contained in:
zyn
2023-12-15 17:51:10 +08:00
parent 1f85731376
commit 21521d49ed
+1 -1
View File
@@ -63,7 +63,7 @@ module.exports = {
},
},
],
'vue/singleline-html-element-content-newline': 'error', // 单行元素内容之前和之后需要换行
'vue/singleline-html-element-content-newline': 'off', // 单行元素内容之前和之后需要换行
'vue/multiline-html-element-content-newline': 'error', // 多行元素内容之前和之后需要换行
'vue/html-indent': ['error', 2], // 缩进 2 个空格
'vue/html-closing-bracket-newline': ['error', { // 强制或禁止在自闭合标签之前换行