Let's share this Prettier config across all of our projects, to keep things consistent.
- Install this package in the target project, along with the required peer dependencies
pnpx install-peerdeps@2 --pnpm --dev @solana/prettier-config-solana
- Add a reference to this module in your
package.json
"prettier": "@solana/prettier-config-solana"