broccoli-eslint ![Build Status](https://camo.githubusercontent.com/2cf9029420b842eaf028e3cfe1863b4a51b78e5cd178f2b032d2ae2fbf9c042f/68747470733a2f2f7472617669732d63692e6f72672f6d616b6570616e69632f62726f63636f6c692d65736c696e742e706e673f6272616e63683d6d6173746572)
Lint JavaScript using Eslint
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
npm install --save broccoli-eslint
Note: The API will change in subsequent 0.x versions.
var eslint = require('broccoli-eslint');
tree = eslint(tree, options);
Type: String
Default: ./eslint.json
Path to eslint configuration file.
Type: String
Default: built-in rules directory
Path to a directory with custom rules. Your custom rules will be used in addition to the built-in ones.
Recommended read: Working with Rules
Type: String
Default: 'eslint/lib/formatters/stylish'
Path path to a custom formatter (See eslint/tree/master/lib/formatters for alternatives).