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