A sharable prettier config for SmartHR.
yarn add --dev prettier-config-smarthr
Edit package.json
{
// ...
"prettier": "prettier-config-smarthr"
}
Create .prettierrc.js
, import the file in a .prettierrc.js
file and export the modifications.
module.exports = {
...require("prettier-config-smarthr"),
"arrowParens": "avoid",
};