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