https://github.com/seebigs/bundl-eslint
https://github.com/seebigs/bundl-eslint
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/seebigs/bundl-eslint
- Owner: seebigs
- Created: 2016-08-05T14:28:23.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-05-16T18:27:57.000Z (about 8 years ago)
- Last Synced: 2025-10-19T23:17:51.390Z (8 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bundl-eslint
*Easily check your code for style and correctness with the popular [ESLint](http://eslint.org/) utility*
*Runs with the amazing [Bundl](https://github.com/seebigs/bundl) build tool*
## Install
```
$ npm install --save-dev bundl-eslint
```
## Configure
```js
var Bundl = require('bundl');
var eslint = require('bundl-eslint');
Bundl.task('lint', function (done) {
var options = {
rules: {
"no-unused-vars": 0
}
};
new Bundl('src/javascripts/*')
.src(eslint(options))
.go(done);
});
```
## Use
```
$ node bundl lint
```
## Options
Pass the same object that you would put into your .eslintrc.json file ([See Full ESLint Documentation](http://eslint.org/docs/user-guide/configuring))
```js
eslint({
extends: "eslint:recommended",
env: {
browser: true
},
globals: {
"foo": true
},
rules: {
eqeqeq: "warn"
}
})
```