feat: aligns ESLint with oxfmt's behavior (#8054)

This commit is contained in:
HaroldZhangCode91
2026-06-15 17:25:04 +08:00
committed by GitHub
parent fcf726f953
commit bf8c3d6411

View File

@@ -85,7 +85,13 @@ export async function vue(): Promise<Linter.Config[]> {
'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'],