Lint your coffeescript (vim)
Install linters.vim
(if you're not using pathogen, install it
git clone https://bitbucket.org/tim_heap/linters.vim ~/.vim/bundle/linters
Install coffeelint
npm install -g coffeelint
Add to ~/.vim/bundle/linters/plugins/linters.vim
if executable("coffeelint")
call s:DefineLinter("coffee", "coffeelint --csv %s > %s", ['%f,%l,error,%m'])
endif
Written by Ben Augarten
Related protips
1 Response
I added this linter definition to the repository. Thanks for the addition! If you add any more in the future, please send a pull request and I will happily merge it in.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#