@chunkgroup/prettier-config
v1.1.0
Published
Chunk Prettier Configuration
Keywords
Readme
@chunkgroup/prettier-config
Shared Prettier config used in Chunk projects.
Usage
Usage is based on Sharing configurations from the Prettier docs.
Remove existing
.prettierrcfile, if present.Install the config.
npm install -D @chunkgroup/prettier-configAdd the following to
package.json:"prettier": "@chunkgroup/prettier-config",Add the following to
scriptsinpackage.json: (You can now "prettify" the wholesrcfolder by runningnpm run pretty)"pretty": "cd src; find . -name \"*\" | grep -v \"^./vendor\" | xargs prettier --write; cd ..;"
