-
Download [jshint.vim][jshint]
-
Put it in
~/.vim/plugin/jshint.vim -
Edit your local vimrc file (I'm on macvim with janus, so it's at
~/.gvimrc.local) and add:au BufWritePost *.js :JSHint
-
Read the [vim docs][vim] and particularly [auto commands][auto] I'm a newb and the neckbeards are probably laughing at me for even posting this.
-
Download [jshint.vim][jshint]
-
Put it in
~/.vim/plugin/jshint.vim -
Edit your local vimrc file (I'm on macvim with janus, so it's at
~/.gvimrc.local) and add:au BufWritePost *.js :JSHint
-
Read the [vim docs][vim] and particularly [auto commands][auto] I'm a newb and the neckbeards are probably laughing at me for even posting this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Browser = require('zombie'), | |
| url = require('url'), | |
| fs = require('fs'), | |
| $q = require('Q'), | |
| saveDir = __dirname + '/_snapshots'; | |
| var scriptTagRegex = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi; | |
| var stripScriptTags = function(html) { |
NewerOlder