-
-
Notifications
You must be signed in to change notification settings - Fork 689
Closed
Description
Per feedback in #77 (comment):
Rule proposition:
Props Casing
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>
Configuration
'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