Skip to content

build(deps-dev): prettier 3 + eslint-prettier majors, drop @types/jsdom - #1705

Merged
mattwoberts merged 2 commits into
mainfrom
deps/prettier-3
Oct 2, 2026
Merged

mattwoberts merged 2 commits into
mainfrom
deps/prettier-3

Conversation

@mattwoberts

Copy link
Copy Markdown
Contributor

Replaces the three open Dependabot dev-dependency majors with one PR.

Dependabot PR Change here
#1701 eslint-plugin-prettier 4.0.0 → 5.5.6 Bumped. CI failed with ERESOLVE because v5 has a peer dependency on prettier >= 3, so prettier also moves 2.6.2 → 3.9.9.
#1702 eslint-config-prettier 8.5.0 → 10.1.8 Bumped.
#1700 @types/jsdom 16.2.14 → 30.0.0 Removed instead. Nothing imports it; it was added in 2018 (#377) and is no longer used. jest-environment-jsdom@28 brings its own 16.x copy. v30 also uses syntax TypeScript 4.9 can't parse, which you only see if you run tsc directly.

.prettierrc already sets trailingComma: "es5", so prettier 3's new default doesn't apply. The reformat touches 4 files and is in its own commit (style: reformat with prettier 3): indentation of nested ternaries, as casts on object literals, and wrapping of a long constructor parameter list. No behaviour change.

eslint stays on 8.15.0. eslint-plugin-prettier 5 needs eslint >= 8, and eslint-config-prettier 10 needs eslint >= 7, so both are satisfied.

Validation (local)

  • npm ci and npm ci --dry-run: clean, no Missing/ERESOLVE
  • npx eslint .: 0 errors (the 2 existing non-null-assertion warnings are unchanged)
  • make test-ui: 230/230 passed
  • make build-ui: compiles (only the existing Sass deprecation warnings)

Closes #1700, closes #1701, closes #1702.

🤖 Generated with Claude Code

mattwoberts and others added 2 commits October 2, 2026 08:33
Combines the three open Dependabot dev-dependency majors:

- eslint-plugin-prettier 4.0.0 -> 5.5.6 (#1701). v5 has a peer dependency
  on prettier >= 3, so prettier moves 2.6.2 -> 3.9.9 alongside it.
- eslint-config-prettier 8.5.0 -> 10.1.8 (#1702).
- @types/jsdom removed instead of bumped to 30 (#1700). Nothing imports it;
  it was added in 2018 for a jest setup that no longer uses jsdom types, and
  jest-environment-jsdom brings its own 16.x copy. v30 also uses syntax that
  TypeScript 4.9 cannot parse.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Output of `npx eslint . --fix` after the prettier 3 upgrade: nested
ternary indentation, `as` casts on object literals, and wrapping of
long parameter lists. No behaviour change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mattwoberts
mattwoberts merged commit 6126644 into main Oct 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant