style: 修改eslint配置
This commit is contained in:
+1
-1
@@ -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', { // 强制或禁止在自闭合标签之前换行
|
||||
|
||||
Reference in New Issue
Block a user