Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pick one of the valid config files #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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