vue/html-end-tags
eslint-plugin-vue
Safe autofixRecommended
eslint.config.js
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/html-end-tags": "error",
},
},
]; <div>
<p>
</template><div></div>
<p></p>
<p></p>
<input>
<br>Examples from the ESLint documentation.
vue/html-end-tags
eslint-plugin-vue
import vue from "eslint-plugin-vue";
export default [
{
plugins: { vue },
rules: {
"vue/html-end-tags": "error",
},
},
];Oxlint does not have this rule.
Biome does not have this rule.
Enforce v-on event naming style on custom components in template
Enforce specific casing for component definition name