# @ionic/prettier-config

> Prettier config for Ionic and Capacitor

Latest version **4.0.0** (published 2023-07-14) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities; has provenance.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2023-07-14 |
| First published | 2020-07-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (Unknown) |
| GitHub stars | 15 |
| Author | Ionic |
| Maintainers | ionicjs |

## Links

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

## Recent versions

- 4.0.0 (latest) — 2023-07-14
- 3.1.0 — 2023-07-10
- 3.0.0 — 2023-05-03
- 2.1.2 — 2023-04-25
- 2.1.1 — 2023-04-25
- 2.1.0 — 2023-04-25
- 2.0.0 — 2021-08-05
- 1.0.1 — 2020-09-17
- 1.0.0 — 2020-07-13
- 0.0.2 — 2020-07-13
- 0.0.1 — 2020-07-13

## README

# @ionic/prettier-config

Shared Prettier config used in Ionic, Capacitor, and Stencil 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 @ionic/prettier-config
    ```

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

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

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