This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 455250 - [eslint] Provide no-cond-assign rule
Summary: [eslint] Provide no-cond-assign rule
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 8.0   Edit
Assignee: Michael Rennie CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-15 11:24 EST by Michael Rennie CLA
Modified: 2014-12-15 19:00 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2014-12-15 11:24:29 EST
I've seen this a few times in code. We should provide the rule (as ESLint proper has) and set it as an error by default.

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