@hendacorp/prettier-config
v1.0.3
Published
Shareable prettier configuration
Downloads
12
Readme
prettier-config
This library was generated with Nx.
Shared prettier configuration
Installation
pnpm add -D @hendacorp/prettier-config
Usage
hendacorp’s shared prettier config comes bundled in @hendacorp/prettier-config
. To enable these rules, add a prettier
property in your package.json
and reference this shared config as follows:
"prettier": "@hendacorp/prettier-config"
Previously, rules had been defined directly in a .prettierrc
or package.json
Any previous .prettierrc
should be removed in favour of the shared config.
Building
Run nx build prettier-config
to build the library.