JSLint.tmbundle
JSLint.tmbundle copied to clipboard
The easiest way to syntax check your JavaScript code from TextMate
JSLint.tmbundle
JSLint is a strict code quality tool by Douglas Crockford. This bundle packages it for use with TextMate.
It uses Safari's JavaScript engine, so there's nothing extra to install.
Installation
Clone this repository to your TextMate Bundles directory.
cd ~/Library/Application\ Support/TextMate/Bundles && git clone git://github.com/topfunky/JSLint.tmbundle.git
Restart TextMate (or use Bundles -> Bundle Editor -> Reload Bundles).
Usage
- Open a JavaScript file.
- Run the Bundles > JSLint > Verify menu item.
Warning
JSLint is both strict and opinionated. Consult the JSLint site to generate a configuration of options that work for your coding style.
Hat Tip
Thanks to tips and snippets from: