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

Bug 493576

Summary: [eslint] Missing-nls rule should ignore import statements
Product: [ECD] Orion Reporter: Curtis Windatt <curtis.windatt.public>
Component: JS ToolsAssignee: Curtis Windatt <curtis.windatt.public>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 12.0   
Target Milestone: 12.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Curtis Windatt CLA 2016-05-12 15:25:44 EDT
ES6 import statements should not have the file path marked with missing nls warnings

import * from "./exports"
Comment 1 Curtis Windatt CLA 2016-05-12 16:18:14 EDT
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=10dbdda806f42efce6e50d853306a353ef692506
Fixed in master with tests

Tests have to include the parse error caused by sourceType not being set.  In the future we could consider restarting the Tern server with that option turned on.  However, this will add time to the tests.