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

Bug 525699

Summary: Using only eslintConfig in package.json the ECMA version is not correctly set
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 16.0   
Target Milestone: 18.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2017-10-06 15:27:49 EDT
Steps:

1. create a project
2. create package.json
3. add the following to it:

{
	"eslintConfig": {
		"ecmaVersion": 7
	}
}

4. now open / create a new JS file and enter the following: [].inc
5. activate content assist after 'inc'

expected: to see the proposal for .includes (from es7)
happens: no includes is available