Per feedback in https://github.com/vuejs/eslint-plugin-vue/issues/77#issuecomment-316057943:
Rule proposition:
Define a style for the props casing in templates
We (at GitLab) often see inconsistency in the way we provide props through templates:
<component myProp="prop"></component>
or
<component my-prop="prop"></component>
'vue/props-casing': ['camelCase'|'kebab-case'|'PascalCase']
camelCase<component myProp="prop"></component>
kebab-case<component my-prop="prop"></component>
PascalCase<component MyProp="prop"></component>
cc @armano2
@filipalacerda i think better name for this rule is html-attributes-casing
@armano2 they can be vue props tho 馃
yes but we don't know if they are props or regular attributes and even if they are props they are still attributes
Thank you for the proposal!
Sounds good to me, but I have some notes.
onclick, contenteditable, etc...- character which we cannot remove: HTML data-* attributes.
Most helpful comment
@filipalacerda i think better name for this rule is
html-attributes-casing