HaroldZhangCode91
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
7 additions and
1 deletions
-
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'], |
|
|
|
|