@dan-nz/prettier-config
v1.0.0
Published
Shareable Prettier config
Downloads
12
Readme
prettier-config
This package includes the shareable Prettier configuration used by Digital Arts Network New Zealand.
Installation
npm i --save-dev @dan-nz/prettier-config
Usage
Create a .prettierrc.js
file with the following contents:
module.exports = require('@dan-nz/prettier-config');
Extending
Overwrite properties from the shared configuration:
module.exports = {
...require('@dan-nz/prettier-config'),
// Project-specific options
semi: false
};