Browse Source

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

pull/8053/head^2
HaroldZhangCode91 4 months ago
committed by GitHub
parent
commit
bf8c3d6411
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 8
      internal/lint-configs/eslint-config/src/configs/vue.ts

8
internal/lint-configs/eslint-config/src/configs/vue.ts

@ -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'],

Loading…
Cancel
Save