@coding-with-hassan/prettier-config-spa
v0.1.0
Published
Shared Prettier config for Angular projects.
Downloads
210
Maintainers
Readme
@coding-with-hassan/prettier-config-spa
Shared Prettier config for Angular projects.
Install
pnpm add -D @coding-with-hassan/prettier-config-spa prettierUse
In your project's package.json:
{
"prettier": "@coding-with-hassan/prettier-config-spa"
}Or in a .prettierrc file (one line):
"@coding-with-hassan/prettier-config-spa"What's in it
printWidth: 100— wider than Prettier's default so Angular templates have roomsingleQuote: true*.htmlfiles use the Angular parser- No
trailingCommaoverride (uses Prettier's defaultall)
