prettier-package-json icon indicating copy to clipboard operation
prettier-package-json copied to clipboard

[Feature] add --check option to CLI

Open wdfinch opened this issue 2 years ago • 1 comments

Hi there,

Thanks so much for making this package. I was wondering if it would be possible to add a --check option to the CLI so we could check if our package.json files are formatted correctly without having to write to them.

Thanks!

wdfinch avatar Apr 24 '22 18:04 wdfinch

Good idea – PRs are open if you want to take a stab at it.

cameronhunter avatar Jun 22 '22 21:06 cameronhunter