@weiland's prettier config
Prettier config for my projects.
Using pnpm
:
pnpm add -D @weiland/prettier-config
or with using yarn
(or npm
):
yarn add -D @weiland/prettier-config
{
"prettier": "@weiland/prettier-config"
}
or create a .prettierrc.json
file with following contents:
"@weiland/prettier-config"
Also make sure to have installed prettier
in your project or on your machine.