My personal Prettier config.
Usage is based on Sharing configurations from the Prettier docs.
-
Remove existing
.prettierrc
file, if present. -
Install the config.
npm install -D @imhoff/prettier-config
-
Add the following to
package.json
:"prettier": "@imhoff/prettier-config",