chore: format the frontend with Prettier #21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "robinp2000/chore/format-frontend"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Run
prettier --write .infrontend/with the existing.prettierrcand.editorconfig. 72 files change (70 undersrc/, plustsconfig.app.jsonandtsconfig.spec.json). Formatting only: no config, dependency or logic changes.Why
Prettier is installed and configured but was never applied, so 72 files deviate
from the project style. Reformatting in its own PR keeps the follow-up PR
(scripts and CI check) free of noise and the squash commit a pure formatting change.
Tests
ng buildsucceeds.prettier --check .reports no remaining differences.ng testfinds no spec files).Notes
ng buildreports two component-style budget warnings(
email-provider.component.scss,authenticated.page.scss). Both alreadyexist on
main, and the reported sizes are identical before and after this change.formatscripts and the CI check follow in a separate PR.