# @square/prettier-config

> Square's Prettier config

Latest version **2.0.0** (published 2022-04-23) · apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @square/prettier-config
pnpm add @square/prettier-config
yarn add @square/prettier-config
bun add @square/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 | 2.0.0 |
| Published | 2022-04-23 |
| First published | 2020-05-13 |
| Weekly downloads | 0 |
| License | apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 12.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | akolyte01, amoghk, jguze-sq, xiao-square, joanc, square-owner, adrw, square-developers, matahwoosh, hirokiosame, bmishkin, dpapastrat, maxbeatty, linnea, pretzelhammer, alexandersmanning |

## Links

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

## Recent versions

- 2.0.0 (latest) — 2022-04-23
- 1.0.0 — 2020-05-13

## README

# @square/prettier-config

Square's shared [Prettier](https://prettier.io) configuration.

## Usage

### Install

```sh
npm install --save-dev @square/prettier-config
```

```sh
yarn add --dev @square/prettier-config
```

```sh
pnpm install --dev @square/prettier-config
```

### Configure

Reference the shared configuration in your `package.json` file:

```jsonc
{
  "name": "my-cool-library",
  "version": "9000.0.1",
  "prettier": "@square/prettier-config"
}
```

If you don’t want to use `package.json`, you can use any of the supported extensions to export a string, e.g. `.prettierrc.json`:

```json
"@square/prettier-config"
```

[Read more on Prettier configuration.](https://prettier.io/docs/en/configuration.html)

## Philosophy

> By far the biggest reason for adopting Prettier is to stop all the on-going debates over styles.
>
> – [Prettier's Option Philosophy](https://prettier.io/docs/en/option-philosophy.html)

This minimal, practically nonexistent, configuration is intended to provide consistent, automatic formatting throughout a project.

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