Open felipecrs opened 4 years ago
My use case: I want to use .js
to be able to import emojis from other file (my semantic-release
and commitlint
configs also import from there).
Just found out about lilconfig which has the parts of cosmiconfig that matter and zero dependencies.
I'm looking at this today.
With
cosmiconfig
we could automatically load the configuration file from whatever supported file, such as:I'm personally looking for a
.czrc.json
, so my VSCode can automatically detect it as JSON.Nonetheless, this would reduce a lot of code from this repo.
https://github.com/davidtheclark/cosmiconfig
Related: https://github.com/commitizen/cz-cli/issues/460