This repository was archived by the owner on Feb 22, 2020. It is now read-only.
Open
Conversation
813622f to
01b02e9
Compare
acfae70 to
1b8be78
Compare
1b8be78 to
c27e245
Compare
43010ec to
7a89e1e
Compare
a559104 to
b31246d
Compare
b31246d to
89e21f3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
Release Notes
sourcegraph/prettierrc
v3.0.2Compare Source
v3.0.1Compare Source
prettier/prettier
v1.19.1Compare Source
diff
CLI
Fix
--stdinregression in 1.19.0 (#6894 by @lydell)TypeScript
Fix formatting of union type as arrow function return type (#6896 by @thorn0)
v1.19.0Compare Source
diff
🔗 Release Notes
v1.18.2Compare Source
diff
TypeScript: only add trailing commas in tuples for
--trailing-comma=all([#6199] by @duailibe)In Prettier 1.18 we added trailing commas in tuples when
--trailing-comma=all, but it was also adding for--trailing-comma=es5.[#6199]: #6199
@duailibe: https://github.com/duailibe
v1.18.1Compare Source
diff
TypeScript: Add trailing comma in tsx, only for arrow function (#6190 by @sosukesuzuki)
Prettier inserts a trailing comma to single type parameter for arrow functions in tsx, since v 1.18. But, this feature inserts a trailing comma to type parameter for besides arrow functions too (e.g, function , interface). This change fix it.
Config: Match dotfiles in config overrides (#6194 by @duailibe)
When using
overridesin the config file, Prettier was not matching dotfiles (files that start with.). This was fixed in 1.18.1v1.18.0Compare Source
diff
🔗 Release Notes
v1.17.1Compare Source
diff
Range: Fix ranged formatting not using the correct line width (#6050 by @mathieulj)
JavaScript: Fix closure compiler typecasts ([#5947] by @jridgewell)
If a closing parenthesis follows after a typecast in an inner expression, the typecast would wrap everything to the that following parenthesis.
JavaScript: respect parenthesis around optional chaining before await (#6087 by @evilebottnawi)
Handlebars: Fix {{else}}{{#if}} into {{else if}} merging (#6080 by @dcyriller)
JavaScript: Improved multiline closure compiler typecast comment detection (#6070 by @yangsu)
Previously, multiline closure compiler typecast comments with lines that
start with * weren't flagged correctly and the subsequent parenthesis were
stripped. Prettier 1.17.1 fixes this issue.
v1.17.0Compare Source
diff
🔗 Release Notes
Renovate configuration
📅 Schedule: "" in timezone America/Los_Angeles.
🚦 Automerge: Enabled.
♻️ Rebasing: Whenever PR becomes conflicted, or if you tick the rebase/retry checkbox below.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.