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
What rule do you want to change? Removing rule from vue2 vue/custom-event-name-casing.
vue/custom-event-name-casing
Official vue documentation recommends using kebab case for naming custom event names. https://vuejs.org/v2/guide/components-custom-events.html#Event-Names "For these reasons, we recommend you always use kebab-case for event 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.)? Removing rule from plugin:vue/recommended and plugin:vue/essential
plugin:vue/recommended
plugin:vue/essential
Please provide some example code that this change will affect:
$emit('somethingCool') // throws linting error
What does the rule currently do for this code?
What will the rule do after it's changed?
Additional context version: 7.1
The text was updated successfully, but these errors were encountered:
See sandbox link: https://codesandbox.io/s/silly-framework-zb0uj?file=/src/App.vue:162-184
Sorry, something went wrong.
If you are using vue2, we recommend always using kebab-case. https://vuejs.org/v2/guide/components-custom-events.html#Event-Names
However, for another reason, we plan to remove vue/custom-event-name-casing rule from the configuration.
vue/require-explicit-emits
emits
That's the whole point of my issue @ota-meshi
Looking forward to the next release.
No branches or pull requests
What rule do you want to change?
Removing rule from vue2
vue/custom-event-name-casing
.Official vue documentation recommends using kebab case for naming custom event names. https://vuejs.org/v2/guide/components-custom-events.html#Event-Names
"For these reasons, we recommend you always use kebab-case for event 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.)?
Removing rule from
plugin:vue/recommended
andplugin:vue/essential
Please provide some example code that this change will affect:
What does the rule currently do for this code?
What will the rule do after it's changed?
Additional context
version: 7.1
The text was updated successfully, but these errors were encountered: