This repository has been archived by the owner on Jun 18, 2020. 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.2
->2.0.5
Release Notes
prettier/prettier
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
.v2.0.4
Compare Source
diff
Revert #7869, "[TypeScript] format TSAsExpression with same logic as BinaryExpression" (#7958)
v2.0.3
Compare Source
diff
JavaScript
Fix
prettier-ignore
inside JSX (#7877 by @fisker)Fix regressions in styled-components template literals (#7883 by @thorn0)
Fix: line endings were not always converted properly in multiline strings and comments (#7891 by @sidharthv96)
Fix bug with holes in array literals (#7911 by @bakkot)
TypeScript
Wrap TSAsExpression (#7869 by @sosukesuzuki)
Flow
Print dangling comments for inexact object type (#7892 by @sosukesuzuki)
Do not add comma for explicit inexact object with indexer property or no properties (#7923 by @DmitryGonchar)
HTML
Fix printing of ignored empty inline elements (#7867 by @fisker)
Format
script
andstyle
inside tags with a colon in the name (#7916 by @fisker)Other changes
require.resolve
in prettier-vscode (#7951 by @thorn0)isSCSS
regex (#7922 by @fisker)Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻️ 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.