cleanenv icon indicating copy to clipboard operation
cleanenv copied to clipboard

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

Open matronator opened this issue 1 year ago • 0 comments

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.

matronator avatar Apr 29 '24 03:04 matronator