Closed bmatcuk closed 5 years ago
Please split the commit into separate commits
chore(package): update `cosmiconfig` v4.0.0...5.0.0
feat(src/index): support synchronous config loading (`rc.sync`)
Made all of the requested changes; removed the "strip require stack" stuff since I can't reproduce it on another laptop.
Thanks for the feedback!
lol, travis is failing with the require stack error now! What do you guys think would be the best way to handle it?
Thanks @michael-ciniawsky - I've updated the tests (I went with /^blah blah .*$/m
instead). Looks like all the tests are passing now =)
Released in v2.1.0
🎉
Thanks!
Notable Changes
This PR adds support for a synchronous loading function, such as:
I'm trying to write an eslint plugin, but eslint has no support for asynchronous plugins. I would love to use postcss-load-config, but I would need this support for that.
While I was in there, I also updated cosmiconfig to the latest version, which closes #184.
Commit Message Summary (CHANGELOG)
Type
SemVer
Issues
Checklist