Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dipcode-software/prettier-config-dipcode

Shareable Prettier config for Dipcode.
https://github.com/dipcode-software/prettier-config-dipcode

Last synced: about 1 month ago
JSON representation

Shareable Prettier config for Dipcode.

Awesome Lists containing this project

README

        

# Dipcode Prettier config

> Shareable Prettier config for Dipcode.

- [Usage](#usage)
- [Links](#links)

## Usage

The package provides Dipcode's `.prettierrc` as an extensible shared config.

Install the config

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

Then edit your `package.json`

```json
{
// ...
"prettier": "@dipcode/prettier-config"
}
```

If you want to extend the configuration, you have to create your own `.prettierrc.js`.

```js
import dipcodePrettierConfig from '@dipcode/prettier-config';

export default {
...dipcodePrettierConfig,
// your override options
};
```

## Links

- [Prettier](https://prettier.io/)