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

Improved vue/require-valid-default-prop rule #1160

Merged
merged 3 commits into from May 23, 2020
Merged

Improved vue/require-valid-default-prop rule #1160

merged 3 commits into from May 23, 2020

Conversation

ota-meshi
Copy link
Member

- Change `vue/require-valid-default-prop` rule to track the` return` statement in the `function` defined in `default`.
- Change `vue/require-valid-default-prop` rule to check `BigInt`.
- Improved the location of reporting errors in `vue/require-valid-default-prop` rule.
@ota-meshi ota-meshi self-assigned this May 23, 2020
@ota-meshi ota-meshi changed the title Improved require-valid-default-prop rule Improved vue/require-valid-default-prop rule May 23, 2020
@ota-meshi ota-meshi merged commit 0c2ecc8 into master May 23, 2020
@ota-meshi ota-meshi deleted the issue1044 branch May 23, 2020 23:59
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-valid-default-prop fails to report error on type mismatch
1 participant