jscs, .jscsrc, vim, syntastic, and youPublished 2015-2-10
But apparently the node core devs prefer
which requires a slight config change to your
I want to contribute to a project created by a node core guy, he wants me to use jscs.
Good Mythical Morning! Let's talk about that.
vim + jscs
First, follow the syntastic installation instructions to install both pathogen and syntastic.
Then install jscs from npm.
npm install -g jscs
.vimrc should contain these three lines:
# this line goes first because pathogen needs bash (not csh, zsh, fish, etc) set shell=bash call pathogen#infect() syntax on
Finally, you have to choose how you want to use
If you don't care to use jshint
If you still want to use both
Let's say you have a
~/.jshintrc, but in specific projects
you have a
./.jscsrc, you'd want something like this after
I hear you can also do it this way:
By AJ ONeal
Did I make your day?
Buy me a coffee