coffeelint-stylish

Stylish reporter for CoffeeLint

Usage no npm install needed!

<script type="module">
  import coffeelintStylish from 'https://cdn.skypack.dev/coffeelint-stylish';
</script>

README

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