gulp-buddy.js
Gulp plugin for running buddy.js
$ npm install --save-dev gulp-buddy.js
var gulp = require('gulp');
var buddyjs = require('gulp-buddy.js');
gulp.task('default', function () {
return gulp.src('app.js')
.pipe(buddyjs({
disableIgnore: true,
reporter: 'detailed'
}));
});
Type: Boolean
Default value: false
Detect object expressions and properties.
Type: Array
Default value: [0, 1]
Numbers that will be ignored in the processing.
Type: Boolean
Default value: false
Disables the ignore list.
Type: Boolean
Default value: false
Enforce literals to be declared with the const
keyword.
Type: Boolean
Default value: false
Disables colors
Type: String
Default value: 'simple'
Reporter to use. Options available are 'simple'
, 'json'
and 'detailed'
.