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

Bug 495556

Summary: [eslint] wrong problems and quickfix for eqeqeq rules
Product: [ECD] Orion Reporter: Olivier Thomann <Olivier_Thomann>
Component: JS ToolsAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 12.0   
Target Milestone: 12.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Olivier Thomann CLA 2016-06-06 14:28:58 EDT
Test case:
var a = 6;
var b = 7;
var c = 8;
var test = a == b == c;

It looks like both problems are reported against: a == b.
Then the quickfix leads to:
var a = 6;
var b = 7;
var c = 8;
var test = a ====== b == c;
Comment 1 Olivier Thomann CLA 2016-06-06 14:29:32 EDT
I got that code pattern from a random git repo.
Comment 2 Olivier Thomann CLA 2016-06-06 14:59:50 EDT
Fix with commit b2092366a20ec26460dbb58011c38e3a785629be.