npm i -D @kalmarv/prettier-config
Reference @kalmarv/prettier-config
in your package.json
:
{
"prettier": "@kalmarv/prettier-config"
}
Or extend the configuration using .prettierrc.js:
module.exports = {
...require('@kalmarv/prettier-config'),
plugins: ['prettier-plugin-foo'],
}