gulp-standard
This fork of https://github.com/emgeee/gulp-standard has as only difference to use standardjs v12 instead of v11 (and the name, gulp-standardjs
instead of gulp-standard
)
Information
Package | gulp-standardjs |
Description | Standard plugin for gulp |
Node version | >= 0.9 |
gulp version | 3.x |
Usage
Install
$ npm install --save-dev gulp-standardjs
Examples
// include the required packages.var gulp = var standard = gulp
Reporters
Built-in
You can choose a reporter when you call
stuff External
You can also use some other custom made reporter
var reporter = stuff
OR -
stuff
Reporter options
breakOnError
Type: boolean
Default: false
Emit gulp error on reported error
breakOnWarning
Type: boolean
Default: false
Emit gulp error on reported warning
quiet
Type: boolean
Default: false
Suppress success messages, only show errors
showRuleNames
Type: boolean
Default: false
Show rule names for errors/warnings (to ignore specific rules)
showFilePath
Type: boolean
Default: false
Show the full file path with the line and column numbers (useful for IDEs that will link to that location)