Skip to content

Commit 66eaa2e

Browse files
committed
chore(tasks/lint_rules): mark more vue rules as unsupported (#12518)
1 parent 209d006 commit 66eaa2e

File tree

1 file changed

+90
-2
lines changed

1 file changed

+90
-2
lines changed

tasks/lint_rules/src/oxlint-rules.mjs

Lines changed: 90 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ const NOT_SUPPORTED_RULE_NAMES = new Set([
6565
'regexp/no-empty-character-class', // handled by eslint/no-empty-character-class
6666

6767
// not supported as it requires parsing the vue template
68+
'vue/no-lone-template',
69+
'vue/no-v-html',
70+
'vue/this-in-template',
71+
6872
'vue/array-bracket-newline',
6973
'vue/array-bracket-spacing',
7074
'vue/array-element-newline',
@@ -106,19 +110,99 @@ const NOT_SUPPORTED_RULE_NAMES = new Set([
106110
'vue/max-lines-per-block',
107111
'vue/multiline-html-element-content-newline',
108112
'vue/mustache-interpolation-spacing',
113+
'vue/new-line-between-multi-line-property', // stylistic rule
114+
'vue/no-bare-strings-in-template',
115+
'vue/no-child-content',
116+
'vue/no-console',
117+
'vue/no-constant-condition',
118+
'vue/no-custom-modifiers-on-v-model',
119+
'vue/no-deprecated-filter',
120+
'vue/no-deprecated-functional-template',
121+
'vue/no-deprecated-html-element-is',
122+
'vue/no-deprecated-inline-template',
123+
'vue/no-deprecated-router-link-tag-prop',
124+
'vue/no-deprecated-scope-attribute',
125+
'vue/no-deprecated-slot-attribute',
126+
'vue/no-deprecated-slot-scope-attribute',
127+
'vue/no-deprecated-v-bind-sync',
128+
'vue/no-deprecated-v-is',
129+
'vue/no-deprecated-v-on-native-modifier',
130+
'vue/no-deprecated-v-on-number-modifiers',
109131
'vue/no-dupe-v-else-if',
132+
'vue/no-duplicate-attr-inheritance',
133+
'vue/no-duplicate-attributes',
134+
'vue/no-empty-component-block',
135+
'vue/no-empty-pattern',
136+
'vue/no-extra-parens', // stylistic rule + template parsing
137+
'vue/no-implicit-coercion',
138+
'vue/no-loss-of-precision',
110139
'vue/no-multi-spaces',
140+
'vue/no-multiple-objects-in-class',
141+
'vue/no-multiple-template-root',
142+
'vue/no-parsing-error',
143+
'vue/no-restricted-block',
144+
'vue/no-restricted-class',
145+
'vue/no-restricted-html-elements',
146+
'vue/no-restricted-static-attribute',
147+
'vue/no-restricted-syntax',
148+
'vue/no-restricted-v-bind',
149+
'vue/no-restricted-v-on',
150+
'vue/no-root-v-if',
111151
'vue/no-spaces-around-equal-signs-in-attribute',
152+
'vue/no-sparse-arrays',
153+
'vue/no-static-inline-styles',
154+
'vue/no-template-key',
112155
'vue/no-template-shadow',
156+
'vue/no-template-target-blank',
157+
'vue/no-textarea-mustache',
158+
'vue/no-undef-components',
159+
'vue/no-unsupported-features', // can not be up to date with vue versions + template parsing
160+
'vue/no-unused-components',
161+
'vue/no-unused-refs',
162+
'vue/no-unused-vars',
163+
'vue/no-use-v-else-with-v-for',
164+
'vue/no-use-v-if-with-v-for',
165+
'vue/no-useless-concat',
166+
'vue/no-useless-mustaches',
167+
'vue/no-useless-template-attributes',
168+
'vue/no-useless-v-bind',
169+
'vue/no-v-text-v-html-on-component',
170+
'vue/no-v-text',
113171
'vue/no-v-for-template-key',
114-
'vue/no-v-model-argument',
172+
'vue/object-curly-newline', // stylistic rule + template parsing
173+
'vue/object-curly-spacing', // stylistic rule + template parsing
174+
'vue/object-property-newline', // stylistic rule + template parsing
175+
'vue/object-shorthand',
176+
'vue/operator-linebreak', // stylistic rule + template parsing
177+
'vue/padding-line-between-blocks', // stylistic rule + template parsing
178+
'vue/padding-line-between-tags', // stylistic rule + template parsing
179+
'vue/padding-lines-in-component-definition', // stylistic rule
180+
'vue/prefer-separate-static-class',
181+
'vue/prefer-template',
182+
'vue/prefer-true-attribute-shorthand',
183+
'vue/quote-props',
184+
'vue/require-component-is',
115185
'vue/require-explicit-emits',
186+
'vue/require-explicit-slots',
187+
'vue/require-toggle-inside-transition',
188+
'vue/require-v-for-key',
189+
'vue/restricted-component-names',
116190
'vue/singleline-html-element-content-newline',
191+
'vue/slot-name-casing',
192+
'vue/space-in-parens', // stylistic rule + template parsing
193+
'vue/space-infix-ops', // stylistic rule + template parsing
194+
'vue/space-unary-ops', // stylistic rule + template parsing
195+
'vue/template-curly-spacing', // stylistic rule + template parsing
196+
'vue/use-v-on-exact',
117197
'vue/v-bind-style',
198+
'vue/v-for-delimiter-style',
199+
'vue/v-if-else-key',
118200
'vue/v-on-event-hyphenation',
201+
'vue/v-on-handler-style',
119202
'vue/v-on-style',
120203
'vue/v-slot-style',
121-
'vue/valid-v-bind-sync',
204+
'vue/valid-attribute-name',
205+
'vue/valid-template-root',
122206
'vue/valid-v-bind',
123207
'vue/valid-v-cloak',
124208
'vue/valid-v-else-if',
@@ -135,6 +219,10 @@ const NOT_SUPPORTED_RULE_NAMES = new Set([
135219
'vue/valid-v-show',
136220
'vue/valid-v-slot',
137221
'vue/valid-v-text',
222+
223+
'vue/no-v-for-template-key-on-child',
224+
'vue/no-v-model-argument',
225+
'vue/valid-v-bind-sync',
138226
]);
139227

140228
/**

0 commit comments

Comments
 (0)