Skip to content

Conversation

thefourtheye
Copy link

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

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.
@silverwind
Copy link

silverwind commented Jul 14, 2016

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.

@AviDuda
Copy link

AviDuda commented Sep 13, 2016

I need this. 👍
@roadhump, any news about merging this in?

@silverwind
Copy link

ping!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants