coffeelint-reporter

3.0.0 • Public • Published

coffeelint-reporter

NPM Version License Tests

A Reporter for Coffeelint

Sample

Install

npm install coffeelint-reporter --save-dev

Usage with cli

coffeelint index.coffee --reporter coffeelint-reporter

Refer 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 by coffeelint.lint, refer coffeelint api
  • options {object} - Options for reporter
    • log {boolean} - enable or disable logging to console

Readme

Keywords

none

Package Sidebar

Install

npm i coffeelint-reporter

Weekly Downloads

2

Version

3.0.0

License

MIT

Unpacked Size

5.16 kB

Total Files

5

Last publish

Collaborators

  • sibiraj-s