Shareable Prettier config for Dipcode.
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
};