Skip to content

chore: bump Prettier to ^3.3.3 + interop deps#594

Merged
cryptodev-2s merged 3 commits into
mainfrom
chore/bump-prettier-3
Jun 12, 2026
Merged

chore: bump Prettier to ^3.3.3 + interop deps#594
cryptodev-2s merged 3 commits into
mainfrom
chore/bump-prettier-3

Conversation

@cryptodev-2s

@cryptodev-2s cryptodev-2s commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Explanation

Aligns Prettier-related dev tooling with the versions used by MetaMask/core, in preparation for migration. Unblocks subsequent bumps of @metamask/messenger-cli, @metamask/auto-changelog, and @metamask/eslint-config* which all peer-require Prettier 3.

Bumps

  • prettier ^2.8.8^3.3.3
  • eslint-plugin-prettier ^4.2.1^5.2.1
  • eslint-config-prettier ^8.8.0^9.1.0

Notes

  • No source-code reformat was needed — running prettier --write . on the codebase produced no diffs. Existing files were already Prettier-3-compatible.
  • Lint and full test suite (196/196) remain green.

References

  • Migration plan: PR-A of the Phase A package alignment sequence (PR-B follows: ESLint v15 flat-config + auto-changelog v6 + messenger-cli v0.2 bundle)

Note

Low Risk
Dev-only dependency and lockfile updates; no runtime or published package API changes.

Overview
Bumps Prettier 3 and matching ESLint integration packages in devDependencies only (package.json + yarn.lock): prettier ^2.8.8 → ^3.3.3, eslint-plugin-prettier ^4.2.1 → ^5.2.1, and eslint-config-prettier ^8.8.0 → ^9.1.0. The lockfile picks up related transitive updates (e.g. eslint-plugin-prettier now depends on synckit ^0.11.13 and @pkgr/core).

This aligns formatting/lint tooling with MetaMask/core and clears peer dependency requirements for a later Phase A bump of @metamask/messenger-cli, @metamask/auto-changelog, and @metamask/eslint-config*. No application or library source files change in this diff.

Reviewed by Cursor Bugbot for commit bd3730a. Bugbot is set up for automated code reviews on this repo. Configure here.

Aligns Prettier-related dev tooling with the versions used by the
MetaMask/core monorepo, in preparation for migration. Bumps:

- prettier              ^2.8.8 -> ^3.3.3
- eslint-plugin-prettier ^4.2.1 -> ^5.2.1
- eslint-config-prettier ^8.8.0 -> ^9.1.0

No source-code reformat was needed — Prettier 3 produces identical
output for this codebase. Lint and full test suite remain green.
@cryptodev-2s cryptodev-2s requested a review from a team as a code owner June 12, 2026 15:00
@socket-security

socket-security Bot commented Jun 12, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedeslint-config-prettier@​8.8.0 ⏵ 9.1.2100 +110072 +187100
Updatedeslint-plugin-prettier@​4.2.1 ⏵ 5.5.6100 +110010093100
Addedprettier@​3.8.4981009796100

View full report

@cryptodev-2s cryptodev-2s self-assigned this Jun 12, 2026
@cryptodev-2s cryptodev-2s requested a review from Mrtenz June 12, 2026 15:05
@cryptodev-2s cryptodev-2s merged commit 9faa4ef into main Jun 12, 2026
18 checks passed
@cryptodev-2s cryptodev-2s deleted the chore/bump-prettier-3 branch June 12, 2026 15:10
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.

2 participants