Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Add support for prettier 3 #196

Merged
merged 2 commits into from
Jul 12, 2023
Merged

Add support for prettier 3 #196

merged 2 commits into from
Jul 12, 2023

Conversation

charlespwd
Copy link
Collaborator

We still support prettier2, but we now accept prettier3 as a peer dependency as well.

Fixes #87
Fixes #194

@@ -33,7 +34,7 @@ import {
const {
builders: { breakParent, group, ifBreak, line, softline, hardline },
} = doc;
const { replaceTextEndOfLine } = doc.utils as any;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still support prettier2, but we now accept prettier3 as a peer dependency as well.

Fixes #87
Fixes #194
Comment on lines -26 to -27
**This is the developer preview** of the Liquid/HTML prettier plugin.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its_happening

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈 It happened a while ago. But I forgot to remove that thing :P

Copy link
Contributor

@albchu albchu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@charlespwd charlespwd merged commit 3a8b86f into main Jul 12, 2023
10 checks passed
@charlespwd charlespwd deleted the feature/prettier-3 branch July 12, 2023 11:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prettier 3.0.0 compatibility Be ready for prettier 3.
2 participants