You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enforce the casing of component name in components options.
This rule should allow two options: PascalCase and camelCase, and default option is PascalCase.
What category should the rule belong to?
[ ] Enforces code style (layout)
[ ] Warns about a potential error (problem)
[x] Suggests an alternate way of doing something (suggestion)
[ ] Other (please specify:)
Provide 2-3 code examples that this rule should warn about:
<script>
importmyComponentfrom'./myComponent.vue'exportdefault { components: { myComponent // <-- should be `MyComponent` }}
</script>
Additional context
The text was updated successfully, but these errors were encountered:
Please describe what the rule should do:
Enforce the casing of component name in
components
options.This rule should allow two options:
PascalCase
andcamelCase
, and default option isPascalCase
.What category should the rule belong to?
[ ] Enforces code style (layout)
[ ] Warns about a potential error (problem)
[x] Suggests an alternate way of doing something (suggestion)
[ ] Other (please specify:)
Provide 2-3 code examples that this rule should warn about:
Additional context
The text was updated successfully, but these errors were encountered: