Prettier config for React + Next + Tailwind projects
First install the package and its peer dependencies
npx install-peerdeps --dev @haaxor1689/prettier-config
Next add the config under prettier
key to your package.json
.
// package.json
{
// ...
"prettier": "@haaxor1689/prettier-config"
}