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.
npm install jshint-reporter-badge
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