-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(eslint-plugin): [no-unnecessary-type-assertion] fix false negativ…
…e for const variable declarations (#8558) * false negative for consts * add more testcases * remove unused fn * add NNA * split into two ifs * restore comment * finish * change order for diffs * fix error triggered by new lint logic * WIP clean up tests * WIP * WIP * remove duplicate tests * fix docs * make test cases more self-contained Co-authored-by: auvred <61150013+auvred@users.noreply.github.com> * suppress lint error * remove unnecessary type assertions --------- Co-authored-by: auvred <61150013+auvred@users.noreply.github.com> Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>
- Loading branch information
1 parent
2869c68
commit d2995df
Showing
5 changed files
with
93 additions
and
60 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
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
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