To use this:
npm i --save-dev @calvium/prettier-config
Then add in your package.json
{
"name": "your-project",
"prettier": "@calvium/prettier-config",
...
}
or for more flexibility create a .prettierrc.js
file with this content:
module.exports = {
...require("@calvium/prettier-config"),
};
Also you need to install prettier in your project
npm i --save-dev prettier