Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 429711

Summary: [eslint] Provide a use-isnan rule
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: Michael_Rennie
Version: 5.0   
Target Milestone: 6.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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.