coffeelint-reporter
v3.0.0
Published
A Reporter for Coffeelint
Downloads
22
Readme
coffeelint-reporter
A Reporter for Coffeelint

Install
npm install coffeelint-reporter --save-devUsage with cli
coffeelint index.coffee --reporter coffeelint-reporterRefer coffelint usage with cli here
Usage with Runtime API
const reporter = require('coffeelint-reporter/reporter');
const options = {
log: false
};
const log = reporter(fileName, lintResults, options);
console.log(log); // formatted log {string}- fileName
{string}- Headlint for the report - lintResults
{Array<object>}- Results provided bycoffeelint.lint, refer coffeelint api - options
{object}- Options for reporter- log
{boolean}- enable or disable logging to console
- log
