This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 493019 - Provide lint warning (and quickfix) when AMD is used but the requirejs plugin is not loaded
Summary: Provide lint warning (and quickfix) when AMD is used but the requirejs plugin...
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: 12.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 12.0   Edit
Assignee: Michael Rennie CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-04 13:33 EDT by Michael Rennie CLA
Modified: 2016-05-24 12:37 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.