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 vue/return-in-emits-validator rule #1129

Merged
merged 1 commit into from May 15, 2020

Conversation

ota-meshi
Copy link
Member

This PR adds vue/return-in-emits-validator rule.

vue/return-in-emits-validator rule enforces that a return statement is present in emits validators. (The emits option is a new in Vue.js 3.0.0+)

Vue RFCs - 0030-emits-option

refs #1035

@ota-meshi ota-meshi mentioned this pull request May 15, 2020
75 tasks
@ota-meshi ota-meshi self-assigned this May 15, 2020
@ota-meshi ota-meshi merged commit 8de47f1 into master May 15, 2020
@ota-meshi ota-meshi deleted the add-rule/return-in-emits-validator branch May 15, 2020 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant