From bf8c3d641184757e983b0e6e0e62341832c2032e Mon Sep 17 00:00:00 2001 From: HaroldZhangCode91 Date: Mon, 15 Jun 2026 17:25:04 +0800 Subject: [PATCH] feat: aligns ESLint with oxfmt's behavior (#8054) --- internal/lint-configs/eslint-config/src/configs/vue.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/internal/lint-configs/eslint-config/src/configs/vue.ts b/internal/lint-configs/eslint-config/src/configs/vue.ts index edd576888..b42026746 100644 --- a/internal/lint-configs/eslint-config/src/configs/vue.ts +++ b/internal/lint-configs/eslint-config/src/configs/vue.ts @@ -85,7 +85,13 @@ export async function vue(): Promise { 'vue/dot-location': ['error', 'property'], 'vue/dot-notation': ['error', { allowKeywords: true }], 'vue/eqeqeq': ['error', 'smart'], - 'vue/html-closing-bracket-newline': 'error', + 'vue/html-closing-bracket-newline': [ + 'error', + { + multiline: 'never', + selfClosingTag: { multiline: 'never' }, + }, + ], 'vue/html-indent': 'off', // 'vue/html-indent': ['error', 2], 'vue/html-quotes': ['error', 'double'],