Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
isNaN --> Number.isNan #10313
Please describe what the rule should do:
What category of rule is this? (place an "X" next to just one item)
[ ] Enforces code style
Provide 2-3 code examples that this rule will warn about:
Why should this rule be included in ESLint (instead of a plugin)?
Hi @stevenvachon, thanks for the issue.
This can already be done using
I don't really want to add a rule in ESLint core just for this case-- we already have too many. But you are more than welcome to use or create a plugin with this rule.