1.1.0 • Published 3 years ago

@chunkgroup/prettier-config v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

@chunkgroup/prettier-config

Shared Prettier config used in Chunk projects.

Usage

Usage is based on Sharing configurations from the Prettier docs.

  1. Remove existing .prettierrc file, if present.
  2. Install the config.

    npm install -D @chunkgroup/prettier-config
  3. Add the following to package.json:

    "prettier": "@chunkgroup/prettier-config",
  4. Add the following to scripts in package.json: (You can now "prettify" the whole src folder by running npm run pretty)

     "pretty": "cd src; find . -name \"*\" | grep -v \"^./vendor\" | xargs prettier --write; cd ..;"
1.1.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

0.0.2

4 years ago

0.0.1

4 years ago

1.0.0

4 years ago