Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

gulp-jscs-custom

Package Overview
Dependencies
4
Maintainers
1
Versions
7
Issues
File Explorer

Advanced tools

gulp-jscs-custom

Gulp plugin for JSCS with custimizable reporter, and with file outputs, i.e. Jenkins-friendly Checkstyle

    0.1.6latest
    GitHub

Version published
Maintainers
1
Weekly downloads
557
decreased by-11.45%

Weekly downloads

Readme

Source

Gulp JSCS Custom Reporter

Information

Packagegulp-jscs-custom
DescriptionGulp plugin for JSCS with custimizable reporters, including Jenkins-friendly Checkstyle. You can output files too.
Node Version>= 0.4

Install

npm install gulp-jscs-custom --save-dev

Usage

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 })); });

Options

OptionTypeDescriptionDefault value
esnextBooleanJSCS's option to parse esnext```javascript false ```
configPathStringPath to JSCS Config```javascript '.jscsrc' ```
reporterString 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' ```
filePathStringOutput file path. If set to `null` will print to stdout```javascript null ```
failOnErrorBooleanIf true, gulp task will break if JSCS finds any linting error```javascript false ```
alwaysCreateReportBooleanCreate the report even if no errors were found```javascript false ```

Keywords

FAQs

Last updated on 01 Jul 2015

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.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc