This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 429711 - [eslint] Provide a use-isnan rule
Summary: [eslint] Provide a use-isnan rule
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: 5.0   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 6.0 M1   Edit
Assignee: Michael Rennie CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-05 16:39 EST by Mark Macdonald CLA
Modified: 2014-03-06 14:12 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2014-03-05 16:39:47 EST
Provide a rule to warn when comparisons are made against NaN using regular operators like ==, !==, <, > and so on

Warning should be:
> Use the isNaN function to compare with NaN.