AppleScript Macro for JSHint validation within BBEdit or TextWrangler
- Open BBEdit or TextWrangler
- Select AppleScript menu and open scripting folder
- Copy JSHintValidate to the folder
- Use directly from menu
- Enjoy
Depends on JSHint (https://github.com/jshint/jshint) which should be installed with npm usign option -g.
E.g. $ sudo npm install -g jshint
Original script is written by James Sinclair and I only modified the script to work with JSHint. Get the original from http://forrst.com/posts/JSLint_Script_for_BBEdit-UQV