Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📎 lint/useIsNan should provide a code fix #96

Closed
Conaclos opened this issue Aug 30, 2023 · 2 comments · Fixed by #125
Closed

📎 lint/useIsNan should provide a code fix #96

Conaclos opened this issue Aug 30, 2023 · 2 comments · Fixed by #125
Assignees
Labels
A-Linter Area: linter L-JavaScript Language: JavaScript and super languages S-Help-wanted Status: you're familiar with the code base and want to help the project

Comments

@Conaclos
Copy link
Member

Description

useIsNan could provide an unsafe code fix, such as:

- 123 == NaN
+ Number.isNan(123)
@Conaclos Conaclos changed the title 📎 lint/useIsNan provide a code fix 📎 lint/useIsNan should provide a code fix Aug 30, 2023
@Conaclos Conaclos added S-Help-wanted Status: you're familiar with the code base and want to help the project A-Linter Area: linter L-JavaScript Language: JavaScript and super languages labels Aug 30, 2023
@victor-teles
Copy link
Contributor

@Conaclos Can i help with this one?

@Conaclos
Copy link
Member Author

Conaclos commented Sep 2, 2023

Assigned :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Linter Area: linter L-JavaScript Language: JavaScript and super languages S-Help-wanted Status: you're familiar with the code base and want to help the project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants