1.0.0 • Published 4 years ago
prettier-config-smarthr v1.0.0
prettier-config-smarthr
A sharable prettier config for SmartHR.
Install
yarn add --dev prettier-config-smarthr
How to use
Edit package.json
{
// ...
"prettier": "prettier-config-smarthr"
}
how to extend
Create .prettierrc.js
, import the file in a .prettierrc.js
file and export the modifications.
module.exports = {
...require("prettier-config-smarthr"),
"arrowParens": "avoid",
};