jscs-stylish

v0.3.1
A JSCS reporter inspired by jshint-stylish

A Stylish JSCS Reporter

This is a reporter for the JSCS JavaScript Code style checker, modeled on the jshint-stylish reporter for JSHint.

JSCS-Stylish reporter output

Install

npm install --save-dev jscs-stylish

Usage

Example usage within the configuration block for grunt-jscs-checker:

jscs: {
    options: {
        config: '.jscsrc',
        // `reporter` requires a directory path string argument:
        // the .path property contains the path to the reporter module
        reporter: require( 'jscs-stylish' ).path
    },
    all: {
        src: [ js/**/*.js ]
    }
}

License

© K.Adam White 2014, released under the MIT License

npm i jscs-stylish

Metadata

  • MIT
  • Whatever
  • K.Adam White
  • released 11/21/2014

Downloads

Maintainers