Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 653 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 653 Bytes

Dipcode Prettier config

Shareable Prettier config for Dipcode.

Usage

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

Install the config

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

Then edit your package.json

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

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

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

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

Links