Skip to content

Commit 90e56c3

Browse files
Fix plugin compatibility with Prettier v3.7+ (#418)
* Bump Prettier to v3.7 * Bump dependencies Some older/outdated plugins don’t work with Prettier v3.7 * Refactor * Don’t override `options.printer` It’s unncessary and causes an incompatibility with Prettier v3.7+ Most likely a left over from when we *also* supported Prettier v2. * Skip `prettier-plugin-multiline-arrays` tests for now That plugin is currently broken when used with Prettier v3.7 * Update changelog * Use `Proxy` for `embed` method * Simplify * Add type * Use Proxy for `print` as well It’s not strictly necessary gonna do this for consistency
1 parent dd02e91 commit 90e56c3

File tree

5 files changed

+227
-162
lines changed

5 files changed

+227
-162
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99

1010
- Load compatible plugins sequentially to work around race conditions in Node.js ([#412](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/412))
11+
- Fix compatibility with `prettier-plugin-svelte` when using Prettier v3.7+ ([#418](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/pull/418))
1112

1213
## [0.7.1] - 2025-10-17
1314

0 commit comments

Comments
 (0)