# @chunkgroup/prettier-config

> Chunk Prettier Configuration

Latest version **1.1.0** (published 2020-12-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @chunkgroup/prettier-config
pnpm add @chunkgroup/prettier-config
yarn add @chunkgroup/prettier-config
bun add @chunkgroup/prettier-config
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2020-12-07 |
| First published | 2020-10-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Brian McHarg |
| Maintainers | defmech, peteshea, chunkgroup-npm |

## Links

- npm: https://www.npmjs.com/package/@chunkgroup/prettier-config
- Repository: https://github.com/chunk-projects/chunk-prettier-config
- Homepage: https://github.com/chunkgroup/chunk-prettier-config#readme
- Issues: https://github.com/chunkgroup/chunk-prettier-config/issues
- npm.io page: https://npm.io/package/@chunkgroup/prettier-config

## Recent versions

- 1.1.0 (latest) — 2020-12-07
- 1.0.3 — 2020-11-27
- 1.0.2 — 2020-11-23
- 1.0.1 — 2020-11-23
- 0.0.2 — 2020-10-30
- 0.0.1 — 2020-10-30

## README

# @chunkgroup/prettier-config

Shared Prettier config used in Chunk projects.

## Usage

Usage is based on [Sharing configurations](https://prettier.io/docs/en/configuration.html#sharing-configurations) from the Prettier docs.

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

    ```
    npm install -D @chunkgroup/prettier-config
    ```

1. Add the following to `package.json`:

    ```
    "prettier": "@chunkgroup/prettier-config",
    ```

1. 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 ..;"
    ```

---
_Source: https://npm.io/package/@chunkgroup/prettier-config · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
