vue/valid-v-is
eslint-plugin-vue
No autofixRecommended
eslint.config.js
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/valid-v-is": "error",
},
},
]; <tr v-is:a="foo"></tr>
<tr v-is.m="foo"></tr>
<tr v-is></tr>
<tr v-is=""></tr>
<MyComponent v-is="foo" />
</template><tr v-is="'blog-post-row'"></tr>
<tr v-is="foo"></tr>Examples from the ESLint documentation.
vue/valid-v-is
eslint-plugin-vue
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/valid-v-is": "error",
},
},
];Oxlint does not have this rule.
nursery/useVueValidVIs
nursery · since 2.6.4
{
"linter": {
"rules": {
"nursery": {
"useVueValidVIs": "error"
}
}
}
}