-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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-condition] don't flag values of a…
…n unconstrained or valid type parameter (#10473) * [no-unnecessary-condition] don't flag values of an unconstrained or valid type parameter * use a much simpelr for loop instead of several confusing .some() checks * bail early if both a possibly-truthy and a possibly-falsy have been detected * put back code that checks non-callables
- Loading branch information
Showing
2 changed files
with
63 additions
and
8 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