Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
gulp-standard
Advanced tools
Standard linter for gulp
Package | gulp-standard |
Description | Standard plugin for gulp |
Node version | >=6 |
gulp version | 3.x |
$ npm install --save-dev gulp-standard
// include the required packages.
var gulp = require('gulp')
var standard = require('gulp-standard')
gulp.task('standard', function () {
return gulp.src(['./app.js'])
.pipe(standard())
.pipe(standard.reporter('default', {
breakOnError: true,
quiet: true
}))
})
You can choose a reporter when you call
stuff
.pipe(standard())
.pipe(standard.reporter('default', opts))
External
You can also use some other custom made reporter
var reporter = require(<SOME_REPORTER>)
stuff
.pipe(standard())
.pipe(standard.reporter(reporter, opts))
OR -
stuff
.pipe(standard())
.pipe(standard.reporter(<REPORTER NAME>, opts))
Type: boolean
Default: false
Emit gulp error on reported error
Type: boolean
Default: false
Emit gulp error on reported warning
Type: boolean
Default: false
Suppress success messages, only show errors
Type: boolean
Default: false
Show rule names for errors/warnings (to ignore specific rules)
Type: boolean
Default: false
Show the full file path with the line and column numbers (useful for IDEs that will link to that location)
FAQs
gulp plugin for checking JavaScript code with the standard syntax
We found that gulp-standard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.