ROX-33204: Upgrade Prettier 3.8.1 by pedrottimark · Pull Request #19466 · stackrox/stackrox

Description

We waited until after PatternFly 6 upgrade to minimize merge conflicts

https://prettier.io/blog/2026/01/14/3.8.0

Prettier now fully supports the fresh features landing in Angular v21.1

https://prettier.io/blog/2025/11/27/3.7.0

we also fixed lots of bugs

https://prettier.io/blog/2025/11/27/3.7.0#change-17882

Avoid break {import,require.resolve,require.resolve.paths,import.meta.resolve}() with long module name

https://prettier.io/blog/2025/11/27/3.7.0#change-18205

Fix inconsistent logical expression print

User-facing documentation

  • CHANGELOG.md update is not needed
  • documentation PR is not needed

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

  1. npm run tsc in ui/apps/platform folder.

  2. npm run lint:fast-dev in ui/apps/platform folder.

    19 problems in 4 files

  3. npm run lint:fast-dev-fix in ui/apps/platform folder.