SublimeLinter-contrib-eslint_d
SublimeLinter-contrib-eslint_d copied to clipboard
pick one of the valid config files
ESLint supports more than one way to specify the configuration files.
The valid list of files can be seen here
http://eslint.org/docs/user-guide/configuring#configuration-file-formats
This patch checks if any of those files exist and if it does return that
file name, otherwise return .eslintrc as the default value.
Fixes: #12
Nice work. I think a similar patch might be in order for the regular ESLint plugin, throught I'm not exactly sure how the configuration gets loaded there.
I need this. 👍 @roadhump, any news about merging this in?
ping!