IS-11176: Fix prettier config and apply formatting#121
Draft
aleixsuau wants to merge 2 commits intointegration/IS-5161/login-web-appfrom
Draft
IS-11176: Fix prettier config and apply formatting#121aleixsuau wants to merge 2 commits intointegration/IS-5161/login-web-appfrom
aleixsuau wants to merge 2 commits intointegration/IS-5161/login-web-appfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the Login Web App’s Prettier configuration to make formatting deterministic, then applies Prettier formatting across several files so they conform to the project’s style rules.
Changes:
- Add explicit
tabWidth: 2to the Login Web App’s.prettierrc. - Apply Prettier-driven formatting/whitespace cleanup across CSS, TSX source, and tests.
- Normalize file endings (eg, newline at EOF).
Reviewed changes
Copilot reviewed 5 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/login-web-app/src/shared/util/css/styles.css | Prettier formatting applied to nested/extended CSS rules. |
| src/login-web-app/src/shared/feature/error-handling/default-error-fallback.tsx | Prettier formatting of error fallback component. |
| src/login-web-app/src/haapi-stepper/feature/stepper/HaapiStepperErrorNotifier.tsx | Minor whitespace cleanup. |
| src/login-web-app/src/haapi-stepper/feature/stepper/HaapiStepperErrorNotifier.spec.tsx | Prettier wrapping/formatting in tests. |
| src/login-web-app/src/haapi-stepper/feature/stepper/HaapiStepper.tsx | Prettier formatting (including JSX return compacting). |
| src/login-web-app/src/haapi-stepper/feature/stepper/HaapiStepper.spec.tsx | Trailing whitespace removal. |
| src/login-web-app/package.json | Formatting/newline normalization at EOF. |
| src/login-web-app/.prettierrc | Add tabWidth: 2 to avoid config inheritance conflicts. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
7c71f2d to
156cc01
Compare
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
f9a05ae to
3603be5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
npx prettier --checkpasses on all LWA source files