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

Bug 428429

Summary: [eslint] Provide a NLS rule (was: Build NLS checking into the JS tools)
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Curtis Windatt <curtis.windatt.public>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: curtis.windatt.public
Version: unspecified   
Target Milestone: 9.0   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 464538    
Bug Blocks: 464609    

Description Michael Rennie CLA 2014-02-18 09:00:43 EST
We should build the checking of JS code for missing / wrong NLS stuff into the JS tools itself, perhaps even as an eslint rule.
Comment 1 Michael Rennie CLA 2014-03-06 23:21:53 EST
To make this work as a rule we would have to turn (back) on loc nodes in our AST, which has the negative effect of bloating the size of the AST.
Comment 2 Curtis Windatt CLA 2015-04-13 16:22:04 EDT
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=430a5eace6521520eb3305dc4524d8ff42cc4a64

Added new rule, new quickfix and tests for both.  Rule is set to ignore by default.