From 21521d49ed2469a3715a04294828aa24a528f220 Mon Sep 17 00:00:00 2001 From: zyn Date: Fri, 15 Dec 2023 17:51:10 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BF=AE=E6=94=B9eslint=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 25c291162..5266a0221 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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', { // 强制或禁止在自闭合标签之前换行