-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Conversation
@@ -1102,7 +1102,7 @@ function printLines(path, options, print, childrenAttribute = "children") { | |||
const beforeCloseTag = lastNode | |||
? concat([ | |||
hasNewlineInRange( | |||
options.originalText, | |||
options.originalText.trimEnd(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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 | |||
|
There was a problem hiding this comment.
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
41d06c9
to
9570d39
Compare
@@ -1102,7 +1102,7 @@ function printLines(path, options, print, childrenAttribute = "children") { | |||
const beforeCloseTag = lastNode | |||
? concat([ | |||
hasNewlineInRange( | |||
options.originalText, | |||
options.originalText.trimEnd(), |
There was a problem hiding this comment.
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
No description provided.