|
3 | 3 | * This file has been automatically generated, |
4 | 4 | * in order to update its content execute "npm run update" |
5 | 5 | */ |
6 | | -const ruleLevel = |
7 | | - process.env.VUE_ESLINT_ALWAYS_ERROR === 'true' ? 'error' : 'warn' |
8 | | - |
9 | 6 | module.exports = { |
10 | 7 | extends: require.resolve('./vue3-essential'), |
11 | 8 | rules: { |
12 | | - 'vue/attribute-hyphenation': ruleLevel, |
13 | | - 'vue/component-definition-name-casing': ruleLevel, |
14 | | - 'vue/first-attribute-linebreak': ruleLevel, |
15 | | - 'vue/html-closing-bracket-newline': ruleLevel, |
16 | | - 'vue/html-closing-bracket-spacing': ruleLevel, |
17 | | - 'vue/html-end-tags': ruleLevel, |
18 | | - 'vue/html-indent': ruleLevel, |
19 | | - 'vue/html-quotes': ruleLevel, |
20 | | - 'vue/html-self-closing': ruleLevel, |
21 | | - 'vue/max-attributes-per-line': ruleLevel, |
22 | | - 'vue/multiline-html-element-content-newline': ruleLevel, |
23 | | - 'vue/mustache-interpolation-spacing': ruleLevel, |
24 | | - 'vue/no-multi-spaces': ruleLevel, |
25 | | - 'vue/no-spaces-around-equal-signs-in-attribute': ruleLevel, |
26 | | - 'vue/no-template-shadow': ruleLevel, |
27 | | - 'vue/one-component-per-file': ruleLevel, |
28 | | - 'vue/prop-name-casing': ruleLevel, |
29 | | - 'vue/require-default-prop': ruleLevel, |
30 | | - 'vue/require-explicit-emits': ruleLevel, |
31 | | - 'vue/require-prop-types': ruleLevel, |
32 | | - 'vue/singleline-html-element-content-newline': ruleLevel, |
33 | | - 'vue/v-bind-style': ruleLevel, |
| 9 | + 'vue/attribute-hyphenation': 'warn', |
| 10 | + 'vue/component-definition-name-casing': 'warn', |
| 11 | + 'vue/first-attribute-linebreak': 'warn', |
| 12 | + 'vue/html-closing-bracket-newline': 'warn', |
| 13 | + 'vue/html-closing-bracket-spacing': 'warn', |
| 14 | + 'vue/html-end-tags': 'warn', |
| 15 | + 'vue/html-indent': 'warn', |
| 16 | + 'vue/html-quotes': 'warn', |
| 17 | + 'vue/html-self-closing': 'warn', |
| 18 | + 'vue/max-attributes-per-line': 'warn', |
| 19 | + 'vue/multiline-html-element-content-newline': 'warn', |
| 20 | + 'vue/mustache-interpolation-spacing': 'warn', |
| 21 | + 'vue/no-multi-spaces': 'warn', |
| 22 | + 'vue/no-spaces-around-equal-signs-in-attribute': 'warn', |
| 23 | + 'vue/no-template-shadow': 'warn', |
| 24 | + 'vue/one-component-per-file': 'warn', |
| 25 | + 'vue/prop-name-casing': 'warn', |
| 26 | + 'vue/require-default-prop': 'warn', |
| 27 | + 'vue/require-explicit-emits': 'warn', |
| 28 | + 'vue/require-prop-types': 'warn', |
| 29 | + 'vue/singleline-html-element-content-newline': 'warn', |
| 30 | + 'vue/v-bind-style': 'warn', |
34 | 31 | 'vue/v-on-event-hyphenation': [ |
35 | | - ruleLevel, |
| 32 | + 'warn', |
36 | 33 | 'always', |
37 | 34 | { |
38 | 35 | autofix: true |
39 | 36 | } |
40 | 37 | ], |
41 | | - 'vue/v-on-style': ruleLevel, |
42 | | - 'vue/v-slot-style': ruleLevel |
| 38 | + 'vue/v-on-style': 'warn', |
| 39 | + 'vue/v-slot-style': 'warn' |
43 | 40 | } |
44 | 41 | } |
0 commit comments