# @mediamonks/prettier-config

> Default Media.Monks Prettier Configuration

Latest version **1.0.1** (published 2022-02-10) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-02-10 |
| First published | 2022-01-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Media.Monks |
| Maintainers | will-newton, jessel, twan.braas, leroykorterink, mientjan, devmonk, thanarie, thi.js, psimk, nathanuphoff, larsvanbraam |
| Keywords | Media.Monks, prettier |

## Links

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

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2022-02-10
- 1.0.0 — 2022-01-18

## README

# MediaMonks - Prettier Configuration

The official Media.Monks prettier configuration, based on the [Frontend Coding Standards](https://github.com/mediamonks/frontend-coding-standards).

## Installation

The configuration can be installed via `npm`.

```bash
npm install --dev @mediamonks/prettier-config
```

To inform prettier of this configuration, you have to add the `prettier` property to your `package.json` file:

```json
"prettier": "@mediamonks/prettier-config"
```

Instead of manually editing your `package.json`, you can also utilize the `npm pkg` subcommand:

```bash
npm pkg set prettier=@mediamonks/prettier-config
```

## Extending

[Prettier does not ship with a built-in way of extending configurations](https://prettier.io/docs/en/configuration.html#sharing-configurations).

To extend the configuration, you will have to create a `.prettierrc.js` file (or `.prettierrc.cjs` if your package is a `"type": "module"`) and import the Media.Monks configuration using `require`:

```js
module.exports = {
  ...require("@mediamonks/prettier-config"),
  semi: false,
};
```

If you have previously added the configuration to your `package.json`, via the `prettier` property, you can now remove it.
You can also utilize the `npm pkg`:

```bash
npm pkg delete prettier
```

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