gulp-buddy.js

v1.0.0
Gulp plugin for running buddy.js
gulpplugin magic number constant detection detect sniffer cli tool and 1 more...

gulp-buddy.js

Gulp plugin for running buddy.js

Install

$ npm install --save-dev gulp-buddy.js

Usage

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'
    }));
});

Options

detectObjects

Type: Boolean Default value: false

Detect object expressions and properties.

ignore

Type: Array Default value: [0, 1]

Numbers that will be ignored in the processing.

disableIgnore

Type: Boolean Default value: false

Disables the ignore list.

enforceConst

Type: Boolean Default value: false

Enforce literals to be declared with the const keyword.

noColor

Type: Boolean Default value: false

Disables colors

reporter

Type: String Default value: 'simple'

Reporter to use. Options available are 'simple', 'json' and 'detailed'.

npm i gulp-buddy.js

Metadata

  • MIT
  • >=0.10.0
  • Dmitry Semigradsky
  • released 5/7/2015

Downloads

Maintainers