polygonplanet / sublime-text-eslint

ESLint any JavaScript file in Sublime Text
24 stars 7 forks source link

Add `config_file` option (which replaces `rulesdir` option) #6

Closed leslc closed 8 years ago

leslc commented 8 years ago

@polygonplanet

rulesdir was misleading on what it did. configFile is the correct CLI option.

I tested this out locally, and setting "config_file" correctly uses an eslintrc file outside the path tree of the current directory. When "config_file" isn't there, it uses the default hierarchy to find the eslintrc file.

polygonplanet commented 8 years ago

OK, rulesdir might there was no need to turn off, but simple options are good.

polygonplanet commented 8 years ago

This fix has been supported in 3.0.0. Thank you!

leslc commented 8 years ago

Great. Btw, I removed "rulesdir" because I read it will deprecated soon. Might as well clean up if no one requires it.