Jagaad personal Prettier config.
This config is based on a poll that was voted inside company.
Install:
npm install --dev @jagaad/prettier-config
- Add to
package.json
:
{
// ...
"prettier": "@jagaad/prettier-config"
}
- Add to
.prettierrc.json
:
"@jagaad/prettier-config"
- Add to
.prettierrc.js
:
module.exports = {
...require("@jagaad/prettier-config"),
// ...
};
- eslint-config-prettier (recommened)
- eslint-plugin-prettier
npx np