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

Bug 493019

Summary: Provide lint warning (and quickfix) when AMD is used but the requirejs plugin is not loaded
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: curtis.windatt.public, Olivier_Thomann
Version: 12.0   
Target Milestone: 12.0   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=493838
Whiteboard:

Description Michael Rennie CLA 2016-05-04 13:33:11 EDT
Similar to what we have done for node and node modules, we should add a linting rule (or update an existing one) to mark 'define' and 'requirejs' call expressions if the requirejs plugin is not loaded / running.

The fix would write / update the .tern-project file as usual to enable such support.