◐ Shell
clean mode source ↗

feat(configLoader): add cosmiconfig support by levi2ki · Pull Request #987 · commitizen/cz-cli

Added cosmiconfig support;
Added json5 support for configs;
Removed deprecated czConfig attribute support;
Added load and loadAtRoot public api hepers;
Removed findup and config normalization functions that are not required for now;

BREAKING CHANGE: config.path now resolves relative to config location;
config lookup now relays on cosmiconfig search rules;
closes #773, closes #782, closes #975