gulp-standard-bundle
Linter for gulp that use the given standard instance (or use the supported one as default) and format the code with a given standard-format instance (or use the supported one as default)
Information
Created to support the usage of standard and standard-format with gulp (fork of gulp-standard to include the formatter)
Usage
Install
$ npm install --save-dev gulp-standard-bundle
Linter examples (standard)
Using the 'default' standard version (check package dependencies)
var gulp = var linter = linter gulp
Using the 'default' standard version with options
var gulp = var linteropts = globals : 'identifier' var linter = linter gulp
Using a given standard instance
var gulp = var standard = var linter = linter gulp
Using a given standard instance with options
var gulp = var standard = var linteropts = globals : 'identifier' var linter = linter gulp
Formatter examples (standard-format)
Using the 'default' standard-format version (check package dependencies)
var gulp = var formatter = formatter gulp
Using a given standard-format instance
var gulp = var standardformat = var formatter = formatter gulp
Reporters
Built-in
You can choose a reporter when you call
stuff
Custom
You can also use some other reporter instance
var reporter = ;...
Or pass the reporter name ()
...
Linter Reporter options
breakOnError
Type: boolean
Default: false
Emit gulp error on reported error
breakOnWarning
Type: boolean
Default: false
Emit gulp error on reported warning
Formatter Reporter options
No options