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

Bug 493086

Summary: Properly forward environments from .eslintrc to the validator
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: 12.0   
Target Milestone: 12.0   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Rennie CLA 2016-05-05 11:19:46 EDT
Seems there is a bug in the validator, where a give list of envs from a .eslintrc.* files are not making it through to eslint.

Steps:
1. create an eslintrc file for orion.client - add an env section with "node": true in it
2. open server.js (in the modules folder)
3. remove 'node' from the eslint-env directive (if its there)
4. you should still not see any no-undef lint warnings (since the env is specified project-wide in the eslintrc file.