Update dependency prettier to v1.19.1 #8
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:
1.16.4
->1.19.1
Release Notes
prettier/prettier (prettier)
v1.19.1
Compare Source
diff
CLI
Fix
--stdin
regression in 1.19.0 (#6894 by @lydell)TypeScript
Fix formatting of union type as arrow function return type (#6896 by @thorn0)
v1.19.0
Compare Source
diff
🔗 Release Notes
v1.18.2
Compare 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
.v1.18.1
Compare 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
overrides
in the config file, Prettier was not matching dotfiles (files that start with.
). This was fixed in 1.18.1v1.18.0
Compare Source
diff
🔗 Release Notes
v1.17.1
Compare 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.0
Compare Source
diff
🔗 Release Notes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.