fix(eslint-plugin): [no-unnecessary-condition] correct regression with unary negations #2422
Conversation
…h unary negations Fixes #2421
Thanks for the PR, @bradzacher! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! |
Codecov Report
@@ Coverage Diff @@
## master #2422 +/- ##
==========================================
+ Coverage 93.12% 93.16% +0.04%
==========================================
Files 287 287
Lines 9189 9186 -3
Branches 2530 2528 -2
==========================================
+ Hits 8557 8558 +1
+ Misses 302 301 -1
+ Partials 330 327 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Fixes #2421