Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/topfunky/jslint.tmbundle

The easiest way to syntax check your JavaScript code from TextMate
https://github.com/topfunky/jslint.tmbundle

Last synced: 11 days ago
JSON representation

The easiest way to syntax check your JavaScript code from TextMate

Awesome Lists containing this project

README

        

# JSLint.tmbundle

[JSLint](http://jslint.com) 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:

* [JSLint on Mac](http://www.phpied.com/jslint-on-mac-textmate/)
* [Pretty JSLint Output](http://wonko.com/post/pretty-jslint-output-for-textmate)
* [JSLint and JavaScriptCore](http://tech.groups.yahoo.com/group/jslint_com/message/714)