JS tools

From Things and Stuff Wiki
Revision as of 03:20, 16 December 2012 by Milk (talk | contribs) (→‎Other)
Jump to navigation Jump to search


JSLint

JSHint

fork of jslint, not as strict as crockford's defaults

git clone git@github.com:johnbender/jshint-service.git
cd jshint-service
heroku create
git push heroku master

http://www.vim.org/scripts/script.php?script_id=3576

Google Closure Linter

JSBeautifier

Stack

  • Grunt: a task-based command line build tool for JavaScript projects.

Other

  • PhantomJS is a headless WebKit with JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.

Apps

Vim

  • Vim JS Tools - This is a simple plugin that adds both JSLint and JSBeautify functionality in one. JSLint is currently assumed to be installed globally by npm, JSBeautify code is included.
    • forked from vim-js-beautify
  • jshint.vim - This plugin will allow you to run jshint from vim, and shows the results in a split window.