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

Bug 496421

Summary: [eslint] Pref warning not appearing for package.json eslint config
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 12.0   
Target Milestone: 13.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2016-06-20 12:14:33 EDT
Have a project with a package.json file with the following contents:

{
	"eslintConfig": {
		"rules": {
			"semi": 2,
			"no-undef-expression": 0
		}
	}
}

If you head over to the JS validation preference page, you do not see the warning at the top about the prefs being overwritten. If you copy / paste the rules section into a .eslintrc.* file, the banner appears as expected.
Comment 1 Olivier Thomann CLA 2016-06-20 12:17:47 EDT
The warning shows up only if there is a .eslintrc file in the project root.
Comment 2 Olivier Thomann CLA 2016-06-24 12:06:44 EDT
Delivered.