Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/topfunky/jslint.tmbundle
- Owner: topfunky
- Created: 2010-09-03T17:52:43.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2010-09-03T18:16:40.000Z (about 14 years ago)
- Last Synced: 2024-04-15T14:13:24.890Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 129 KB
- Stars: 15
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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)