Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(eslint-plugin): no-unsafe-enum-comparison handles switch cases (#…
…7898) * feat: no-unsafe-enum-comparison handles switch cases * fix: lint * Update packages/eslint-plugin/docs/rules/no-unsafe-enum-comparison.md Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com> * Update packages/eslint-plugin/docs/rules/no-unsafe-enum-comparison.md Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com> * refactor: mismatched --> mismatchedCondition * refactor: add more tests * Update packages/eslint-plugin/docs/rules/no-unsafe-enum-comparison.md Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com> * fix: assertion * fix: compiler error * fix: prettier --------- Co-authored-by: James <5511220+Zamiell@users.noreply.github.com>
- Loading branch information
1 parent
99a026f
commit 72cb9e4
Showing
4 changed files
with
267 additions
and
96 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
Oops, something went wrong.