Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/skarab42/prettier-config

My shared Prettier config
https://github.com/skarab42/prettier-config

config prettier prettier-config

Last synced: 15 days ago
JSON representation

My shared Prettier config

Awesome Lists containing this project

README

        

# My shared Prettier config

## Installation

```bash
pnpm add -D prettier @skarab/prettier-config
```

## Configuration

Select one of the three methods below according to your needs and/or preferences.

### Setup in `package.json`

```ts
{
"prettier": "@skarab/prettier-config"
}
```

### Export from `.prettierrc.json`

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

### Or extends in `.prettierrc.js`

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

# My other shared configurations

- [@skarab/eslint-config](https://github.com/skarab42/eslint-config)
- [@skarab/prettier-config](https://github.com/skarab42/prettier-config)
- [@skarab/typescript-config](https://github.com/skarab42/typescript-config)