coffeelint-stylish

Stylish reporter for CoffeeLint runtime

npm install coffeelint-stylish
434 downloads in the last day
2 587 downloads in the last week
5 177 downloads in the last month

coffeelint-stylish Build Status NPM version

Dependency Status devDependency Status

Stylish reporter for CoffeeLint http://www.coffeelint.org. Heavily inspired by the beautiful jshint-stylish.

Note: This is soley to be used with CoffeeLint's runtime, i.e. coffeelint.lint(source, configuration), not with the coffeelint commandline tool. Currently the commandline tool does not support external reporters.

screenshot

Install

Install with npm: npm install --save-dev coffeelint-stylish.

Usage with CoffeeLint runtime

coffeelint = require 'coffeelint'
reporter = require('coffeelint-stylish').reporter

filename = 'make.coffee'
source = 'do -> coffee()'

reporter filename, coffeelint source

Options 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.

License

MIT License © Jan Raasch

npm loves you