@allindevelopers and @iamandrewluca personal prettier config
Install:
npm install --dev @allindevelopers/prettier-config
- Add to
package.json
:
{
// ...
"prettier": "@allindevelopers/prettier-config"
}
- Add to
.prettierrc.json
:
"@allindevelopers/prettier-config"
- Add to
.prettierrc.js
:
module.exports = {
...require("@allindevelopers/prettier-config"),
// ...
};
npx np