Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (17 sloc) 996 Bytes

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:

Something went wrong with that request. Please try again.