jshint-reporter-badge

0.1.0 • Public • Published

jshint-reporter-badge

Build status

A simple jshint reporter that produces a badge inspired by shields.io

For example the following badge is self served by this project, not by any service provider. Click it to access a JSHint report in HTML.

JSHint status

Install

npm install jshint-reporter-badge

usage

jshint --reporter node_modules/jshint-reporter-badge/index.js file.js > badge.svg

You can configure it using environment variables, for example:

export JSHINT_BADGE_SUBJECT=lint
export JSHINT_BADGE_OK_COLOR=green
export JSHINT_BADGE_KO_COLOR=orange
export JSHINT_BADGE_STYLE=flat

Package Sidebar

Install

npm i jshint-reporter-badge

Weekly Downloads

3

Version

0.1.0

License

MIT

Last publish

Collaborators

  • alban