coffeelint-stylish
v0.1.2
Published
Stylish reporter for CoffeeLint
Downloads
66,405
Maintainers
Readme
coffeelint-stylish
Stylish reporter for CoffeeLint http://www.coffeelint.org. Heavily inspired by the beautiful jshint-stylish.
Install
Install with npm: npm install --save-dev coffeelint-stylish
.
Usage with CoffeeLint cli
coffeelint index.coffee --reporter coffeelint-stylish
Usage with CoffeeLint runtime
coffeelint = require 'coffeelint'
reporter = require('coffeelint-stylish').reporter
filename = 'make.coffee'
source = 'do -> coffee()'
reporter filename, coffeelint source
Runtime API reporter(filename, results)
filename
Type: String
, Default: ''
Headline of the report.
results
Type: Array
, Default: []
Results Array
provided by coffeelint.lint
, see http://www.coffeelint.org/#api.