-
-
Notifications
You must be signed in to change notification settings - Fork 681
Rule proposal: multi-word-component-names
#245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Note that for |
But I guess we also want to report this case @chrisvfritz, aren't we?
|
@michalsnik Yeah, if a |
note that |
Any news on this? |
any updates? |
So we prefer to have to MAKE UP extra words for possibly hundreds of components instead of not using reserved words/html standard elements? This rule is quite.. exotic if I may. |
This is not ideal for a |
@gkatsanos Please see the reasoning in the Vue Style Guide: https://v3.vuejs.org/style-guide/#multi-word-component-names-essential (Specifically, it mentions "future HTML elements".) @manniL You can disable this rule selectively for these cases: https://eslint.org/docs/user-guide/configuring/configuration-files#cascading-and-hierarchy or https://eslint.org/docs/user-guide/configuring/configuration-files#configuration-based-on-glob-patterns. |
We don't have a rule for checking this and it's already in style guide, so it might be a good idea to add it here too :)
More informations here:
https://vuejs.org/v2/style-guide/#Multi-word-component-names-essential
The text was updated successfully, but these errors were encountered: