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

Bug 454638

Summary: [eslint] curly rule does not check WithStatements and DoWhileStatements
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 8.0   
Target Milestone: 8.0   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Rennie CLA 2014-12-09 14:14:01 EST
Title says it all. We should be checking those two statement kinds.

We should also be marking the complete statement that should be enclosed in braces rather than just the first token of the offending statement - it would help make it more clear exactly what should be enclosed.