This change modifies jshint.vim to accept .jshintrc format for ~/.jshintrc in addition to the previous /*jshint opt: val*/ format. This should fix issue #10.
It would be an api-breaking change to stop accepting comment format for ~/.jshintrc, but at the same time, it's a little confusing for ~/.jshintrc to not be in the standard format, given the filename.
This change modifies
jshint.vim
to accept.jshintrc
format for~/.jshintrc
in addition to the previous/*jshint opt: val*/
format. This should fix issue #10.It would be an api-breaking change to stop accepting comment format for
~/.jshintrc
, but at the same time, it's a little confusing for~/.jshintrc
to not be in the standard format, given the filename.