vue/no-deprecated-html-element-is
disallow using deprecated the
is
attribute on HTML elements (in Vue.js 3.0.0+)
- ⚙️ This rule is included in all of
"plugin:vue/essential"
,*.configs["flat/essential"]
,"plugin:vue/strongly-recommended"
,*.configs["flat/strongly-recommended"]
,"plugin:vue/recommended"
and*.configs["flat/recommended"]
.
📖 Rule Details
This rule reports deprecated the is
attribute on HTML elements (removed in Vue.js v3.0.0+).
See Migration Guide - Custom Elements Interop for more details.
<template>
<!-- ✓ GOOD -->
<div />
<component is="foo">
<!-- ✗ BAD -->
<div is="foo" />
<div :is="foo" />
</template>
🔧 Options
Nothing.
📚 Further Reading
🚀 Version
This rule was introduced in eslint-plugin-vue v7.0.0