Skip to content
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

Add casing option to vue/custom-event-name-casing rule & remove from configs. #1364

Merged
merged 2 commits into from
Dec 4, 2020

Conversation

ota-meshi
Copy link
Member

@ota-meshi ota-meshi commented Dec 3, 2020

This PR adds casing option ("kebab-case" and "camelCase") to vue/custom-event-name-casing rule.

The recommended casings for Vue3 will change. So this rule adds an option so that you can enforce either.

Also, I think the user needs to select the casing, so remove the rule from configurations ("plugin:vue/essential" and "plugin:vue/vue3-essential").

close #1347

@ota-meshi ota-meshi merged commit 6d6203f into master Dec 4, 2020
@ota-meshi ota-meshi deleted the update-custom-event-name-casing branch December 4, 2020 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vue/require-explicit-emits not picking up listed emits in different cases
1 participant