gulp-jscs-custom
Advanced tools
Weekly downloads
Readme
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 473 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 installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.