Skip to content

Commit

Permalink
fix: enforce name casing for unregistered components (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhav11s committed Oct 18, 2023
1 parent 2efb730 commit ba704e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/configs/vue.ts
Expand Up @@ -47,7 +47,9 @@ export function vue(
'vue/block-order': ['error', {
order: ['script', 'template', 'style'],
}],
'vue/component-name-in-template-casing': ['error', 'PascalCase'],
'vue/component-name-in-template-casing': ['error', 'PascalCase', {
registeredComponentsOnly: false,
}],
'vue/component-options-name-casing': ['error', 'PascalCase'],
'vue/custom-event-name-casing': ['error', 'camelCase'],
'vue/define-macros-order': ['error', {
Expand Down

0 comments on commit ba704e7

Please sign in to comment.