This repository has been archived by the owner on Jul 17, 2021. It is now read-only.
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:
2.0.4
->2.3.1
Release Notes
prettier/prettier
v2.3.1
Compare Source
diff
Support TypeScript 4.3 (#10945 by @sosukesuzuki)
override
modifiers in class elementsstatic index signatures (
[key: KeyType]: ValueType
) in classesget
/set
in type declarationsPreserve attributes order for element node (#10958 by @dcyriller)
Track cursor position properly when it’s at the end of the range to format (#10938 by @j-f1)
Previously, if the cursor was at the end of the range to format, it would simply be placed back at the end of the updated range.
Now, it will be repositioned if Prettier decides to add additional code to the end of the range (such as a semicolon).
Break the LHS of type alias that has complex type parameters (#10901 by @sosukesusuzki)
Break the LHS of assignments that has complex type parameters (#10916 by @sosukesuzuki)
Fix incorrectly wrapped arrow functions with return types (#10940 by @thorn0)
Avoid breaking call expressions after assignments with complex type arguments (#10949 by @sosukesuzuki)
Fix order of
override
modifiers (#10961 by @sosukesuzuki)v2.3.0
Compare Source
diff
🔗 Release Notes
v2.2.1
Compare Source
diff
Fix formatting for AssignmentExpression with ClassExpression (#9741 by @sosukesuzuki)
v2.2.0
Compare Source
diff
🔗 Release Notes
v2.1.2
Compare Source
diff
Fix formatting for directives in fields (#9116 by @sosukesuzuki)
v2.1.1
Compare Source
diff
Fix format on html with frontMatter (#9043 by @fisker)
Fix broken format for
...infer T
(#9044 by @fisker)Fix format on
style[lang="sass"]
(#9051 by @fisker)Fix self-closing blocks and blocks with
src
attribute format (#9052, #9055 by @fisker)v2.1.0
Compare Source
diff
🔗 Release Notes
v2.0.5
Compare Source
diff
Less: Fix formatting of
:extend
(#7984 by @fisker)Editor integration: Use
resolve
if builtinrequire.resolve
is overridden (#8072 by @fisker)This fixes issues that the users of Atom and WebStorm faced with 2.0.4.
Prettier now switches to using the
resolve
module for resolving configuration files and plugins if it detects thatrequire.resolve
isn't Node's builtin function (doesn't support the second argument), which happens in environments like editor extensions. To force the fallback, set thePRETTIER_FALLBACK_RESOLVE
environment variable totrue
.Configuration
📅 Schedule: 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 has been generated by WhiteSource Renovate. View repository job log here.