-
-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(linter): fix false positives in no-confusing-non-null-assertion
This lint did not check which operator was used, so it would warn you that `a! + b` looks too much like `a !+ b`, which doesn't make much sense. This patch adds tests for various binary operators and restricts the lint to only those that actually look like `!=`.
- Loading branch information
1 parent
0236e94
commit 361ce0f
Showing
2 changed files
with
51 additions
and
15 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