I spend my days in vim, currently writing a lot of JavaScript. I've been trying to find a way to integrate JSLint or something similar into vim to improve my coding. Has anyone managed to do something like this?
Edit:
tried this: Javascript Syntax Checking From Vim, unfortunately the output is very crude.
The best-practice way IMO is:
jsl
(JSLint executable) using your favorite package manager (Ubuntu's apt-get
, Mac's home brew
, etc.).syntax_checkers/javascript.vim
file with this one - EDIT: NO LONGER NECESSARY WITH NEWEST SYNTASTIC VERSION.
Enjoy! :)