xTECH's Prettier config.
$ npm i -D @xtech/prettier-config
or
$ yarn add -D @xtech/prettier-config
Reference the module in package.json
:
{
// ...
"prettier": "@xtech/prettier-config"
}
Or create a prettier config file that exports a string with the module name, e.g. .prettierrc.json
:
"@xtech/prettier-config"