A JavaScript validation and code quality bundle for TextMate using the latest JSLint version. Read more about it here.
- Quick validation on file save (displays a tooltip on error only).
- Detailed infos (errors, unused variables, implied globals).
- Custom validation settings.
- ⌘S - Quick Validate
- ⌃⇧V - Validate Syntax
Copy and paste the following block to your terminal:
cd ~/Library/Application\ Support/TextMate/Bundles
rm -Rf jslint.tmbundle/
git clone git://github.com/aemkei/jslint-tmbundle.git jslint.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'
You can customize the JSLint options using the "Edit Settings
" command.
If you see node: command not found
, make sure your PATH
variable is correctly set.
TextMate > Preferences > Advanced > Shell Variables > PATH