Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved
vue/require-valid-default-prop
rule (#1160)
* WIP * Improved `require-valid-default-prop` rule. - 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. * Add testcases
- Loading branch information
Showing
3 changed files
with
493 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.