The easiest way to syntax check your JavaScript code from TextMate
JavaScript
Switch branches/tags
Nothing to show
Latest commit 4461bd2 Sep 3, 2010 @topfunky Links corrected in README
Permalink
Failed to load latest commit information.
Commands Fixed line number oddity Sep 3, 2010
Support First import Sep 3, 2010
README.md Links corrected in README Sep 3, 2010
info.plist First import Sep 3, 2010

README.md

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: