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

Bug 495339

Summary: [quickfix] Fix for missing-requirejs mistakenly adds 'requirejs' to eslint directive
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: PC   
OS: Windows 7   
Whiteboard:

Description Michael Rennie CLA 2016-06-02 14:46:11 EDT
Steps:

1. create new project, add source file with:

define(function() {});

2. add .tern-project file with plugins section like:

"plugins": {
  "node" : {}
}

3. back in the source file use the quickfix to enable the requirejs plugin - notice it adds 'requirejs' to the directive.

Looks like we forgot to convert the plugin name to the corresponding eslint name.