Closed
Description
Style guide:
https://vuejs.org/v2/style-guide/#Component-name-casing-in-templates-strongly-recommended
Description:
This rule would ensure proper component names in templates. As we only check .vue
files in terms of templates we can provide both options: kebab-case
and PascalCase
Good examples:
- kebab-case
<the-component />
- PascalCase
<TheComponent />
Bad examples:
<theComponent />
<Thecomponent />
<The-component />
and obviously with kebab-case
option it would warn about PascalCase
and vice-versa.
Default option would be PascalCase
.