
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
gulp-jscs-custom
Advanced tools
Gulp plugin for JSCS with custimizable reporter, and with file outputs, i.e. Jenkins-friendly Checkstyle
Package | gulp-jscs-custom |
Description | Gulp plugin for JSCS with custimizable reporters, including Jenkins-friendly Checkstyle. You can output files too. |
Node Version | >= 0.4 |
npm install gulp-jscs-custom --save-dev
var gulp = require('gulp'),
jscs = require('gulp-jscs-custom');
gulp.task('checkstyle', function () {
return gulp.src('./**/*.js')
.pipe(jscs({
esnext: false,
configPath: '.jscsrc',
reporter: 'checkstyle',
filePath: './jscs.xml',
failOnError: false
}));
});
Option | Type | Description | Default value |
---|---|---|---|
esnext | Boolean | JSCS's option to parse esnext | ```javascript false ``` |
configPath | String | Path to JSCS Config | ```javascript '.jscsrc' ``` |
reporter | String |
Which reporter JSCS will use. Options include: **JSCS Reporters**: 'console' * * 'inline' * * 'junit' * * 'text' * You can also set the file path to a custom reporter. | ```javascript 'console' ``` |
filePath | String | Output file path. If set to `null` will print to stdout | ```javascript null ``` |
failOnError | Boolean | If true, gulp task will break if JSCS finds any linting error | ```javascript false ``` |
alwaysCreateReport | Boolean | Create the report even if no errors were found | ```javascript false ``` |
FAQs
Gulp plugin for JSCS with custimizable reporter, and with file outputs, i.e. Jenkins-friendly Checkstyle
The npm package gulp-jscs-custom receives a total of 48 weekly downloads. As such, gulp-jscs-custom popularity was classified as not popular.
We found that gulp-jscs-custom 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
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.