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

chore: update prettier to 2.1.2 #1774

Merged
merged 1 commit into from
Jun 28, 2021
Merged

Conversation

czosel
Copy link
Collaborator

@czosel czosel commented Jun 26, 2021

No description provided.

@@ -1102,7 +1102,7 @@ function printLines(path, options, print, childrenAttribute = "children") {
const beforeCloseTag = lastNode
? concat([
hasNewlineInRange(
options.originalText,
options.originalText.trimEnd(),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

makes sense based on prettier changes

@@ -103,6 +103,7 @@ $foo = "bar";
\`\`\`

\`\`\`php

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Upstream prettier does this as well (see playground); the change was introduced here: prettier/prettier@97b899b#diff-0a8624d0b561d808de85774597ac5c1de4ac029c6f47e5f68a31ffb457db60eeR36

@czosel czosel changed the title chore: update prettier to 2.1.1 chore: update prettier to 2.1.2 Jun 26, 2021
@@ -1102,7 +1102,7 @@ function printLines(path, options, print, childrenAttribute = "children") {
const beforeCloseTag = lastNode
? concat([
hasNewlineInRange(
options.originalText,
options.originalText.trimEnd(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

makes sense based on prettier changes

@czosel czosel merged commit 8236921 into prettier:master Jun 28, 2021
@czosel czosel deleted the update-prettier-2-1-1 branch June 28, 2021 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants