We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
vue/no-reserved-component-names
What rule do you want to change? vue/no-reserved-component-names
Does this change cause the rule to produce more or fewer warnings? Fewer
How will the change be implemented? (New option, new default behavior, etc.)? Change in the existing rule.
Please provide some example code that this change will affect:
export default defineComponent({ components: { Button, }, ... });
can be configured to not produce error anymore
What does the rule currently do for this code? Throws an error when using Button name for component.
Button
What will the rule do after it's changed? Will not throw an error when using Button name for component. Will still throw an error when using button.
button
Additional context
Vue seems to be capable to diffrentiate:
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What rule do you want to change?
vue/no-reserved-component-names
Does this change cause the rule to produce more or fewer warnings?
Fewer
How will the change be implemented? (New option, new default behavior, etc.)?
Change in the existing rule.
Please provide some example code that this change will affect:
can be configured to not produce error anymore
What does the rule currently do for this code?
Throws an error when using
Button
name for component.What will the rule do after it's changed?
Will not throw an error when using
Button
name for component. Will still throw an error when usingbutton
.Additional context
Vue seems to be capable to diffrentiate:
button
for html tagButton
for a componentExample:
https://play.vuejs.org/#eNqNUstOwzAQ/BXjS4pUJQc4lVCJokrAARAgcfGlpNuQ4tiWvS6Vqvw7azt9IFDVW3Zndmc24w2/MSZfeeAjXrrKNgaZA/RmLFTTGm2RbZiFBevYwuqWZUTNdtDEI2rVI3mRyrAtuxJKqEorh6x1NbsOOwbZHUip2bu2cn6WnQtVFkmSxKhAaI2cIVDFWPkRl40RHJZFX0QgqfRAX8T54mABH3J0pL9o6nzptKLzNmFa8Eq3ppFgnww25E/wEYtIwGZk7/sh9tB6GG771SdUX//0l24deoI/W3BgVyD4DsOZrQETPH19hDV978BWz70k9hHwBZyWPnhMtIlXc7J9wItu72MSjarf3HSNoNz2qGA0MLvIF5xSuT1y+t7uRX4Z54Tq6C/uM/3zQk5IL20fBGGtQCFlHhqlkxpZkaj7cH8n2P0AT4TgzA==
The text was updated successfully, but these errors were encountered: