Skip to content

dipcode-software/prettier-config-dipcode

Repository files navigation

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