standardify
v1.0.0
Published
browserify plugin to force linting at bundle time
Downloads
4
Maintainers
Readme
standardify
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.
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
WIP
License
MIT, see LICENSE.md for details.