I have vim set up so pressing
:J<tab><enter>
runs jshint within vim, and I can step through the error lines. It's a
huge time saver.
The relevant lines from my ~/.vimrc:
" Use pathogen in order to use vim-jshint
" per
https://github.com/tpope/vim-pathogen :
call pathogen#infect()
" The above means my `git clone
https://github.com/walm/jshint.vim.git`
" in ~/.vim/bundle is loaded.
Timo, should we be using .jshintrc per directory or lines like
/*jshint multistr:true */
at the top of files? Or both?
grunt.js build, love it
--
=S Page software engineer on E3