Last Updated: February 25, 2016
·
2.283K
· baugarten

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

1 Response
Add your 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 ·