Socket
Socket
Sign inDemoInstall

gulp-jscs-custom

Package Overview
Dependencies
153
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-jscs-custom

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


Version published
Weekly downloads
67
increased by252.63%
Maintainers
1
Created
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'
        }));
});

Options

{
    esnext: Boolean, // (true | false) Defaults to false
    configPath: String, // if empty, defaults to '.jscsrc'
    reporter: String, // Builtins (checkstyle, console, inline, junit, text)
                      // Or you can add the file path for a custom reporter
                      // Defaults to console
    filePath: String // Output file path. Defaults to null (will print to stdout)
}

Keywords

FAQs

Last updated on 13 Mar 2015

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • 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