wookiehangover / jshint.vim

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

Fix .jshintrc location logic #48

Closed mrpdaemon closed 9 years ago

mrpdaemon commented 9 years ago

The code to look for .jshintrc intended to start from the current file's directory and walk up on the filesystem until a .jshintrc was found. Unfortunately this code was only ever looking at the current directory and not really recursing up. Fix is to actually use the path passed to FindRC().

mrpdaemon commented 9 years ago

This addresses issue #37

changemewtf commented 9 years ago

This seems to work for me. Can it be merged, @wookiehangover?