1.4.4 • Published 8 years ago
gore-eslint v1.4.4
gore-eslint
Wrapper around eslint for ease of use and zero configuration.
This linter also works great with bigger projects because it splits linter into several child processes and distributes lint files evenly between them. It makes use of most of your processor cores probably. :)
usage
You can easily attach eslint checker to your gulpfile. Internally, airbnb eslint config (slightly modified to achieve compatibility with React Native and Node.js) is used.
const gulp = require('gulp');
const eslint = require('gore-eslint');
gulp.task('lint', function gulpLintTask() {
return eslint([
__filename,
'index.android.js',
'index.ios.js',
'ios_modules/**/*.js',
]);
});