Skip to content

Conversation

@gribnoysup
Copy link
Collaborator

@gribnoysup gribnoysup commented Jun 13, 2025

I guess the way to fix these 100% correct way would be to have a method that asserts string value to the actual enum and use this when comparing, at the same time we're trying to move away from enums anyway, so I'm just coercing their types to something that will satisfy the eslint check. Please tell me if you feel like this is not a good approach

@gribnoysup gribnoysup requested a review from a team as a code owner June 13, 2025 15:05
@gribnoysup gribnoysup changed the title chore(eslint): re-enable no-unsafe-enum-comparison chore(eslint): re-enable no-unsafe-enum-comparison COMPASS-9459 Jun 13, 2025
@gribnoysup gribnoysup merged commit 22c56de into main Jun 16, 2025
56 of 57 checks passed
@gribnoysup gribnoysup deleted the eslint-enable-no-unsafe-enum-comparison branch June 16, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants