Skip to content

mattdesl/standardify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

browserify plugin to force linting at bundle time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published