Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexey-koran/prettier-config

Shared prettier config
https://github.com/alexey-koran/prettier-config

prettier

Last synced: about 1 month ago
JSON representation

Shared prettier config

Awesome Lists containing this project

README

        

# `@alexey-koran/prettier-config`

Prettier [sharing configuration](https://prettier.io/docs/en/configuration.html#sharing-configurations)

### Installation

```bash
pnpm i -D @alexey-koran/prettier-config
```

### Usage

prettier.config.mjs

```js
import externalConfig from '@alexey-koran/prettier-config';

/** @type {import('prettier').Config} */

export default {
...externalConfig,
};
```

### [Example](https://github.com/alexey-koran/react-template/blob/main/prettier.config.mjs)