broccoli-lint-eslint

Lint JavaScript with ESLint as part of your Broccoli build pipeline.
Most of the test setup and the build configuration is based on sindresorhus/grunt-eslint.
The internal validation is heavily inspired by eslint cli.js.
Installation
As of 3.0.0
, broccoli-lint-eslint
uses versions of eslint
greater than 3.0.0
. Because eslint@3.0.0
dropped support for Node versions below 4, you may need to use the latest 2.x
version of broccoli-lint-eslint
(which uses eslint@2.13.1
), if your support needs also fall below Node v4:
npm install --save broccoli-lint-eslint@2
If versions of Node >= 4 suit your needs, you can safely install the latest version of broccoli-lint-eslint
:
npm install --save broccoli-lint-eslint
Usage
var eslint = require('broccoli-lint-eslint');
var outputNode = eslint(inputNode, options);
API