Skip to content

Commit fc75027

Browse files
committed
fix(fmt): retain Prettier 3.10.1 with SWCFMT
1 parent 14e8c69 commit fc75027

2 files changed

Lines changed: 26 additions & 22 deletions

File tree

‎pnpm-lock.yaml‎

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-workspace.yaml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ catalog:
4646
'lint-staged': '^17.6.0'
4747
'micromatch': '4.0.8'
4848
pkg-pr-new: 0.0.93
49-
# Match the formatter plugin's exact Prettier peer dependency.
50-
prettier: '3.9.9'
49+
prettier: '3.10.1'
5150
'prettier-plugin-tailwindcss': '0.8.1'
5251
'prettier-plugin-svelte': '^4.1.1'
5352
'react': '^19.3.1'
@@ -69,6 +68,11 @@ dedupePeers: true
6968

7069
autoInstallPeers: false
7170

71+
peerDependencyRules:
72+
allowedVersions:
73+
# Upstream publishes its pinned test version; 3.10.1 is verified locally.
74+
'@swc-next/formatter-prettier-plugin@0.7.0>prettier': '3.10.1'
75+
7276
engineStrict: true
7377

7478
hoistPattern: []

0 commit comments

Comments
 (0)