tern-requirejs-extension
v0.1.0
Published
Extension for Tern RequireJS to provide validation.
Readme
tern-requirejs-extension
tern-requirejs-extension is a plugin which adds support validation for requirejs require to the JavaSript code intelligence system Tern.
Here a sample with Eclipse :

See here for more information about requirejs lint with Eclipse.
Installation
tern-requirejs-extension works with the RequireJS [Tern Server][tern-server], and within a browser.
The easiest way to install tern-requirejs-extension is to use a recent version of [npm][npm]. In the directory where you installed the [tern package][tern-npm], simply run
$ npm install tern-requirejs-extensionConfiguration
requirejs-extension tern plugin extends requirejs tern plugin to support validation.
With Node.js
In order for Tern to load the tern-requirejs-extension plugin once it is installed, you must
include requirejs-extension in the plugins section of your [Tern configuration
file][tern-config] and requirejs.
Here is a minimal example .tern-project configuration file:
{
"plugins": {
"requirejs": {},
"lint": {},
"requirejs-extension": {}
}
}With WebBrowser (CodeMirror)
Structure
The basic structure of the project is given in the following way:
requirejs-extension.jsthe tern plugin.demos/demos with requirejs lint tern plugin which use CodeMirror.

