Base prettier configuration used by the Parsifer team for packages and the applications.
Install the package from the npm registry.
npm i -D @parsifer/prettier-config
# Make sure also to install the following packages peer dependancies
npm i -D prettier
After installation, you can copy/paste the following block of code within the package.json
file.
{
"prettier": "@parsifer/prettier-config"
}
Alternatively, you can add the following string to a prettierrc.json
configuration file.
"@parsifer/prettier-config"
Read more about Prettier configurations on their website: https://prettier.io/docs/en/configuration.html.