JavaScript Lint Textmate Bundle
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Commands
Support
info.plist
readme.md

readme.md

JSLint Textmate Bundle

A JavaScript validation and code quality bundle for TextMate using the latest JSLint version. Read more about it here.

Features

  • Quick validation on file save (displays a tooltip on error only).
  • Detailed infos (errors, unused variables, implied globals).
  • Custom validation settings.

Usage

  • ⌘S - Quick Validate
  • ⌃⇧V - Validate Syntax

Installation

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'

Settings

You can customize the JSLint options using the "Edit Settings" command.

Requires

Troubleshooting

If you see node: command not found, make sure your PATH variable is correctly set.

TextMate > Preferences > Advanced > Shell Variables > PATH