# @elkevinwolf/prettier-config

> Kevin Wolf's opinionated shareable Prettier config

Latest version **1.0.0** (published 2021-05-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @elkevinwolf/prettier-config
pnpm add @elkevinwolf/prettier-config
yarn add @elkevinwolf/prettier-config
bun add @elkevinwolf/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.0.0 |
| Published | 2021-05-16 |
| First published | 2021-05-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kevin Wolf |
| Maintainers | elkevinwolf |
| Keywords | prettier, prettier config, shareable prettier config, elkevinwolf |

## Links

- npm: https://www.npmjs.com/package/@elkevinwolf/prettier-config
- Repository: https://github.com/elkevinwolf/devtools
- Homepage: https://github.com/elkevinwolf/devtools#readme
- Issues: https://github.com/elkevinwolf/devtools/issues
- npm.io page: https://npm.io/package/@elkevinwolf/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
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2021-05-16

## README

![version](https://img.shields.io/npm/v/@elkevinwolf/prettier-config?style=for-the-badge)
![downloads](https://img.shields.io/npm/dt/@elkevinwolf/prettier-config?style=for-the-badge)

# @elkevinwolf/prettier-config

⚙️ Kevin Wolf's opinionated [shareable Prettier config](https://prettier.io/docs/en/configuration.html#sharing-configurations).

## Installation

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

## Usage

Depending on your preferred way to configure Prettier, you have several options:

- In `package.json`, using the `prettier` property:

```jsonc
{
  // name, scripts, dependencies, etc...
  "prettier": "@elkevinwolf/prettier-config"
}
```

- In `.prettierrc`, `.prettierrc.json`, `.prettierrc.json5`, `.prettierrc.yaml`, or `.prettierrc.yml`:

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

- In `.prettierrc.js`, `.prettierrc.cjs`, `prettier.config.js` or `prettier.config.cjs`:

```js
module.exports = "@elkevinwolf/prettier-config"
```

## Extending

For extending this configuration, you will need to either use `prettier.config.js` or `.prettierrc.js`, [spread](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax) the original config and add your overwrites:

```js
module.exports = {
  ...require("@elkevinwolf/prettier-config"),
  // your overwrites...
}
```

## Contributing

Read the [contributing guidelines](../../#contributing).

## License

[MIT](../../license)

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