-
-
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): [prefer-optional-chain] suggests optional chainin…
…g during strict null equality check (#8717) * fix [prefer-optional-chain] suggests optional chaining during strict null equality * fix [prefer-optional-chain] suggests optional chaining during strict null equality * Fix lint * Add prefer-optional-chain test * Fix lint * rebase and fix prefer optional chain on strict null equality * fix prefer optional chain on strict null equality * fix lint * tests: code review suggestion * Update packages/eslint-plugin/src/rules/prefer-optional-chain-utils/analyzeChain.ts --------- Co-authored-by: Marta Cardoso <up201304504@up.pt> Co-authored-by: Marta Cardoso <145560260+up201304504@users.noreply.github.com> Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
- Loading branch information
1 parent
b0f7aa4
commit 4bed24d
Showing
2 changed files
with
18 additions
and
5 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