|
|
@ -58,24 +58,40 @@ module.exports = defineConfig({ |
|
|
|
'vue/custom-event-name-casing': 'off', |
|
|
|
'vue/custom-event-name-casing': 'off', |
|
|
|
'vue/attributes-order': 'off', |
|
|
|
'vue/attributes-order': 'off', |
|
|
|
'vue/one-component-per-file': 'off', |
|
|
|
'vue/one-component-per-file': 'off', |
|
|
|
'vue/html-closing-bracket-newline': 'off', |
|
|
|
|
|
|
|
'vue/max-attributes-per-line': 'off', |
|
|
|
'vue/max-attributes-per-line': 'off', |
|
|
|
'vue/multiline-html-element-content-newline': 'off', |
|
|
|
'vue/multiline-html-element-content-newline': 'off', |
|
|
|
'vue/singleline-html-element-content-newline': 'off', |
|
|
|
'vue/singleline-html-element-content-newline': 'off', |
|
|
|
'vue/attribute-hyphenation': 'off', |
|
|
|
'vue/attribute-hyphenation': 'off', |
|
|
|
'vue/require-default-prop': 'off', |
|
|
|
'vue/require-default-prop': 'off', |
|
|
|
'vue/html-self-closing': [ |
|
|
|
'vue/html-end-tags': 'error', |
|
|
|
'error', |
|
|
|
'vue/html-quotes': [ 'error', 'double', { 'avoidEscape': false } ], |
|
|
|
{ |
|
|
|
'vue/no-multi-spaces': ['error', { 'ignoreProperties': false }], |
|
|
|
html: { |
|
|
|
'vue/html-closing-bracket-newline': ['error', { |
|
|
|
void: 'always', |
|
|
|
'singleline': 'never', |
|
|
|
normal: 'never', |
|
|
|
'multiline': 'always' |
|
|
|
component: 'always', |
|
|
|
}], |
|
|
|
}, |
|
|
|
'vue/html-indent': ['error', 2, { |
|
|
|
svg: 'always', |
|
|
|
'attribute': 1, |
|
|
|
math: 'always', |
|
|
|
'baseIndent': 1, |
|
|
|
|
|
|
|
'closeBracket': 0, |
|
|
|
|
|
|
|
'alignAttributesVertically': true, |
|
|
|
|
|
|
|
'ignores': [] |
|
|
|
|
|
|
|
}], |
|
|
|
|
|
|
|
'vue/html-self-closing': ['error', { |
|
|
|
|
|
|
|
'html': { |
|
|
|
|
|
|
|
'void': 'never', |
|
|
|
|
|
|
|
'normal': 'always', |
|
|
|
|
|
|
|
'component': 'always' |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
'svg': 'always', |
|
|
|
'vue/html-quotes': [ 'error', 'double', { 'avoidEscape': false } ] |
|
|
|
'math': 'always' |
|
|
|
}, |
|
|
|
}], |
|
|
|
|
|
|
|
'vue/max-attributes-per-line': ['error', { |
|
|
|
|
|
|
|
'singleline': 3, |
|
|
|
|
|
|
|
'multiline': { |
|
|
|
|
|
|
|
'max': 1, |
|
|
|
|
|
|
|
'allowFirstLine': true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}], |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|