0.1.2 • Published 11 years ago
coffeelint-stylish v0.1.2
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-stylishUsage with CoffeeLint runtime
coffeelint = require 'coffeelint'
reporter = require('coffeelint-stylish').reporter
filename = 'make.coffee'
source = 'do -> coffee()'
reporter filename, coffeelint sourceRuntime 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.