- ⚙️ This rule is included in
"plugin:vue/strongly-recommended"
and"plugin:vue/recommended"
. - 🔧 The
--fix
option on the command line can automatically fix some of the problems reported by this rule.
Default casing is set to always
'vue/attribute-hyphenation': [2, 'always'|'never']
👍 Examples of correct code`:
<MyComponent my-prop="prop"/>
👎 Examples of incorrect code`:
<MyComponent myProp="prop"/>
👍 Examples of correct code`:
<MyComponent myProp="prop"/>
👎 Examples of incorrect code`:
<MyComponent my-prop="prop"/>