sibiraj-s / coffeelint-reporter

☕️ A Reporter for Coffeelint

Home Page:https://npm.im/coffeelint-reporter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

☕️ A Reporter for Coffeelint

https://npm.im/coffeelint-reporter

License:MIT License


Languages

Language:JavaScript 98.5%Language:Shell 1.5%