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

Bug 486129

Summary: [quickfix] Provide a fix for no-cond-assign rule
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: Olivier_Thomann
Version: 11.0   
Target Milestone: 13.0   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Rennie CLA 2016-01-19 11:41:59 EST
We should provide a fix for no-cond-assign.

The fix should be to surround the assignment in parenthesis (which can also be used currently to silence the rule).

http://eslint.org/docs/rules/no-cond-assign