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

Support hidden .*.config.js files #57

Closed
AndersDJohnson opened this issue Mar 23, 2017 · 5 comments
Closed

Support hidden .*.config.js files #57

AndersDJohnson opened this issue Mar 23, 2017 · 5 comments

Comments

@AndersDJohnson
Copy link

AndersDJohnson commented Mar 23, 2017

Support a dot prefix on .config.js files (similar to .eslintrc.js like #58).

@davidtheclark
Copy link
Collaborator

Can't you do this already with the js option?

@AndersDJohnson
Copy link
Author

@davidtheclark Maybe, but can it support both hidden and not?

@davidtheclark
Copy link
Collaborator

I don't want to build this convention in by default, because I don't understand it's appeal and I don't think it's used outside of ESLint (right?). So the question is: how can the options change to accommodate your use-case?

@davidtheclark
Copy link
Collaborator

@adjohnson916: After thinking about this more, this features seems pretty unnecessary to me. The number of possible variations are endless, and I feel comfortable drawing the line around the (significant) flexibility that the package already allows. However, if you do come up with a good idea for how this could fit into cosmiconfig's options, and what implementation would look like, feel free to re-open.

@davidtheclark
Copy link
Collaborator

@AndersDJohnson This is now possible with v5. The searchPlaces option gives you enough flexibility over the names of the files that get searched.

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

No branches or pull requests

2 participants