pageClass | sidebarDepth | title | description |
---|---|---|---|
rule-details |
0 |
vue/no-invalid-attribute-name |
require valid attribute names |
require valid attribute names
- ❗ This rule has not been released yet.
This rule detects invalid HTML attributes.
<template>
<!-- ✓ GOOD -->
<p foo.bar></p>
<p foo-bar></p>
<p _foo.bar></p>
<p :foo-bar></p>
<!-- ✗ BAD -->
<p 0abc></p>
<p -def></p>
<p !ghi></p>
</template>
Nothing.