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

File decodes based on extension, meaning it fails to load config if .rc files are used #140

Open
matronator opened this issue Apr 29, 2024 · 0 comments

Comments

@matronator
Copy link

I'm working on a CLI tool amock and I would love to be able to use config files with the rc postfix, like for instance .eslintrx or .zshrc or .npmrc, but when I try to load config from .amockrc it fails because it doesn't know it's a JSON file since it's missing the .json extension.

Would be nice to support this.

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

1 participant