1.0.0 • Published 9 years ago

standardify v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

standardify

experimental

A browserify plugin to force standard linting at bundle time, printing errors in DevTools console and optionally rendering them to the DOM.

It would typically be combined with watchify, budo, hihat, or a similar tool.

Example, where --plugin is a browserify option.

budo index.js --live -- --plugin standardify

Now, when you open localhost:9966 and make changes to index.js that fail the linter, they appear in the browser.

screen

This is an experiment / proof of concept. Other ideas:

  • allow/document custom styling of errors
  • allow the build to continue even in the case of lint errors
    • e.g. printing to console, but still running the app
  • modularize some of the code here for other linters

Usage

NPM

WIP

License

MIT, see LICENSE.md for details.