jshint-reporter-badge
v0.1.0
Published
A simple jshint reporter that produces badges using shield.io
Downloads
10
Maintainers
Readme
jshint-reporter-badge
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.
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