Angular + Prettier
Opinionated code formatter. This page shows exactly what pickstack adds to a Angular project for Prettier: the packages, the new files and the changes to existing ones. Every combination is installed, built, linted and tested in CI.
$ npm create pickstack@latest my-app -- --framework angular --modules prettier --yesCustomize in the configurator
Packages it adds
| Package | Version | Type |
|---|---|---|
prettier | ^3.10.1 | dev |
New files
dist .angular pnpm-lock.yaml package-lock.json yarn.lock bun.lock
{
"overrides": [
{
"files": "*.html",
"options": {
"parser": "angular"
}
}
]
}
Changes to existing files
<section class="page"> <h1 class="title">About</h1>+ <p class="text">Built with Angular 22, TypeScript, Prettier.</p>− <p class="text">Built with Angular 22, TypeScript.</p> </section>
Project files
.gitignore.prettierignore.prettierrcREADME.mdangular.jsonpackage.jsonpublic/robots.txtsrc/app/app.config.tssrc/app/app.htmlsrc/app/app.routes.tssrc/app/app.tssrc/app/components/counter/counter.htmlsrc/app/components/counter/counter.tssrc/app/pages/about/about.htmlsrc/app/pages/about/about.tssrc/app/pages/home/home.htmlsrc/app/pages/home/home.tssrc/index.htmlsrc/main.tssrc/styles.csstsconfig.app.jsontsconfig.json