Commit 90e56c3
authored
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 consistency1 parent dd02e91 commit 90e56c3
File tree
5 files changed
+227
-162
lines changed- src
- tests
5 files changed
+227
-162
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments