wookiehangover / jshint.vim

JSHint fork of jslint.vim
Other
194 stars 45 forks source link

Accept json format for '~/.jshintrc'. #13

Closed usrbincc closed 11 years ago

usrbincc commented 11 years ago

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.