Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor html printer #11462

Merged
merged 5 commits into from Sep 8, 2021
Merged

Conversation

sosukesuzuki
Copy link
Member

@sosukesuzuki sosukesuzuki commented Sep 7, 2021

Description

Extract printOpening~~, printClosing~~ and embed.

Does not touch logics.

Checklist

Try the playground for this PR

needsToBorrowParentClosingTagStartMarker,
needsToBorrowPrevClosingTagEndMarker,
},
opening: {
Copy link
Sponsor Member

@fisker fisker Sep 7, 2021

Choose a reason for hiding this comment

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

I don't like closing and opening, when we move to esm, most likely we'll use named export, why not just put everything on module.exports?

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed 675228d

@sosukesuzuki sosukesuzuki merged commit 0eb1493 into prettier:main Sep 8, 2021
@sosukesuzuki sosukesuzuki deleted the refactor-html-printer branch September 8, 2021 07:32
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2022
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.

None yet

2 participants