0.1.2 • Published 9 years ago

coffeelint-stylish v0.1.2

Weekly downloads
7,399
License
MIT
Repository
github
Last release
9 years ago

coffeelint-stylish Build Status Coverage Status NPM version

Screenshot Dependency Status devDependency Status

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

screenshot

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.

License

MIT License © Jan Raasch