(lint) tweak vue rules to dominant style

This commit is contained in:
Valentyne Stigloher 2024-01-01 13:34:49 +01:00
parent 999dce46ff
commit 5f4cab576a

View File

@ -93,15 +93,15 @@
"@stylistic/js/template-tag-spacing": "warn", "@stylistic/js/template-tag-spacing": "warn",
"@stylistic/js/wrap-iife": "warn", "@stylistic/js/wrap-iife": "warn",
"@stylistic/js/yield-star-spacing": "warn", "@stylistic/js/yield-star-spacing": "warn",
"vue/first-attribute-linebreak": ["warn", { "singleline": "beside", "multiline": "beside" }], "vue/first-attribute-linebreak": ["warn", { "singleline": "beside" }],
"vue/html-closing-bracket-spacing": ["warn", {"selfClosingTag": "never"}],
"vue/html-indent": ["warn", 4], "vue/html-indent": ["warn", 4],
"vue/html-self-closing": ["warn", {"html": {"void": "always", "normal": "never"}}], "vue/html-self-closing": ["warn", { "html": { "normal": "never" } }],
"vue/max-attributes-per-line": ["warn", {"singleline": 4}], "vue/max-attributes-per-line": ["warn", { "singleline": 5 }],
"vue/multi-word-component-names": "off", "vue/multi-word-component-names": "off",
"vue/no-mutating-props": "warn", "vue/no-mutating-props": "warn",
"vue/no-use-v-if-with-v-for": ["warn"], "vue/no-use-v-if-with-v-for": ["warn"],
"vue/require-v-for-key": "warn", "vue/require-v-for-key": "warn",
"vue/singleline-html-element-content-newline": ["warn", { "externalIgnores": ["T"] }],
"vue/valid-template-root": "warn", "vue/valid-template-root": "warn",
"vue/valid-v-for": "warn", "vue/valid-v-for": "warn",
"vue/array-bracket-newline": ["warn", "consistent"], "vue/array-bracket-newline": ["warn", "consistent"],