This repository was archived by the owner on May 10, 2022. It is now read-only.
Open
Conversation
fba7178 to
38643f9
Compare
38643f9 to
5dab0b9
Compare
5dab0b9 to
fb889a6
Compare
fb889a6 to
401c3f3
Compare
401c3f3 to
323df7f
Compare
323df7f to
583a692
Compare
583a692 to
fdfda38
Compare
fdfda38 to
eb74835
Compare
eb74835 to
d79b3d1
Compare
d79b3d1 to
91f5ec5
Compare
91f5ec5 to
05a7364
Compare
05a7364 to
6d790f0
Compare
6d790f0 to
53fc8d1
Compare
53fc8d1 to
c63506c
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:
1.19.1->2.6.2Release Notes
prettier/prettier
v2.6.2Compare Source
diff
Fix LESS/SCSS format error (#12536 by @fisker)
Update
meriyahto fix several bugs (#12567 by @fisker, fixes inmeriyahby @3cp)Fixes bugs when parsing following valid code:
v2.6.1Compare Source
diff
Ignore
loglevelwhen printing information (#12477 by @fisker)v2.6.0Compare Source
prettier --loglevel silent --find-config-path index.js
v2.5.1Compare Source
diff
Improve formatting for empty tuple types (#11884 by @sosukesuzuki)
Fix compatibility with Jest inline snapshot test (#11892 by @fisker)
A internal change in Prettier@v2.5.0 accidentally breaks the Jest inline snapshot test.
Support Glimmer's named blocks (#11899 by @duailibe)
Prettier already supported this feature, but it converted empty named blocks to self-closing, which is not supported by the Glimmer compiler.
See: Glimmer's named blocks.
v2.5.0Compare Source
diff
🔗 Release Notes
v2.4.1Compare Source
diff
Fix wildcard syntax in
@forward(#11482) (#11487 by @niksy)Add new CLI option
debug-print-ast(#11514 by @sosukesuzuki)A new
--debug-print-astCLI flag for debugging.v2.4.0Compare Source
diff
🔗 Release Notes
v2.3.2Compare Source
diff
Fix failure on dir with trailing slash (#11000 by @fisker)
v2.3.1Compare Source
$ prettier . -l
1.js
$ prettier ./ -l
[error] No supported files were found in the directory: "./".
v2.3.0Compare Source
diff
🔗 Release Notes
v2.2.1Compare Source
diff
Fix formatting for AssignmentExpression with ClassExpression (#9741 by @sosukesuzuki)
v2.2.0Compare Source
diff
🔗 Release Notes
v2.1.2Compare Source
diff
Fix formatting for directives in fields (#9116 by @sosukesuzuki)
v2.1.1Compare 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
srcattribute format (#9052, #9055 by @fisker)v2.1.0Compare Source
diff
🔗 Release Notes
v2.0.5Compare Source
diff
Less: Fix formatting of
:extend(#7984 by @fisker)Editor integration: Use
resolveif builtinrequire.resolveis 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
resolvemodule for resolving configuration files and plugins if it detects thatrequire.resolveisn'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_RESOLVEenvironment variable totrue.v2.0.4Compare Source
diff
Revert #7869, "[TypeScript] format TSAsExpression with same logic as BinaryExpression" (#7958)
v2.0.3Compare Source
diff
JavaScript
Fix
prettier-ignoreinside 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
scriptandstyleinside tags with a colon in the name (#7916 by @fisker)Other changes
require.resolvein prettier-vscode (#7951 by @thorn0)isSCSSregex (#7922 by @fisker)v2.0.2Compare Source
diff
2.0 regressions
JavaScript: Fix formatting of pseudo-elements and pseudo-classes in styled-components template literals (#7842 by @thorn0)
TypeScript: Avoid trailing commas on index signatures with only one parameter (#7836 by @bakkot)
TypeScript index signatures technically allow multiple parameters and trailing commas, but it's an error to have multiple parameters there, and Babel's TypeScript parser does not accept them. So Prettier now avoids putting a trailing comma there when you have only one parameter.
Revert "markdown: fix redundant leading spaces in markdown list" (#7847)
See #7846
Other changes
TypeScript: Fix
prettier-ignorein union types (#7798 by @thorn0)v2.0.1Compare Source
diff
API: Fix build script to not corrupt
import-freshmodule (#7820 by @thorn0)v2.0.0Compare Source
diff
🔗 Release Notes
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.