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

Bug 511408

Summary: unknown-require rules to does not honour eslintrc settings
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: mamacdon, steve_northover
Version: 13.0   
Target Milestone: 14.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2017-01-31 13:03:14 EST
If you create an eslintrc file in your project with the following contents:

{
 "envs": {"node": true, "browser": true}
}

you will still be nagged about adding an eslint directive for something like:

var _fs = require("fs");

if no in-file directive is found (WRONG)