gulp-rb-validate-eslint
v0.0.4
Published
Gulp plugin to check .eslintrc according to web frontend guidelines
Downloads
3
Readme
#Installation
Install package with NPM and add it to your development dependencies:
npm install gulp-rb-validate-eslint --save-dev
#Usage
Basic
var rbeslint = require('gulp-rb-validate-eslint');
gulp.task('rb-validate', function () {
gulp.src('./.eslintrc')
.pipe(rbeslint());
});
With Parameter
var rbeslint = require('gulp-rb-validate-eslint');
gulp.task('rb-validate', function () {
gulp.src('./.eslintrc')
.pipe(rbeslint({
exitOnError: true
});
});
#Parameters
exitOnError: Boolean (Default: false)
Exit with code 1 if an error with obligation level red is found.