-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps) Update dependency prettier to v2 #156
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/prettier-2.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
renovate
bot
added
maintenance
dependency updates, etc.
renovate
Renovate-generated PRs
labels
Oct 18, 2021
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
9 times, most recently
from
November 30, 2021 10:17
aae0f83
to
db60d9b
Compare
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
3 times, most recently
from
December 10, 2021 19:52
6e3afd7
to
ba9a671
Compare
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
2 times, most recently
from
January 23, 2022 00:47
ae7b09f
to
7dbfa2c
Compare
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
2 times, most recently
from
January 29, 2022 16:11
3196bb1
to
c46cdad
Compare
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
from
March 16, 2022 06:13
c46cdad
to
81fa243
Compare
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
from
March 26, 2022 11:41
81fa243
to
0ac3ba2
Compare
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
from
April 2, 2022 18:53
0ac3ba2
to
7f249bb
Compare
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
from
June 18, 2022 22:07
7f249bb
to
9fd10c3
Compare
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
from
September 20, 2022 16:01
9fd10c3
to
6919ac4
Compare
renovate
bot
changed the title
chore(deps): update dependency prettier to v2
chore(deps) Update dependency prettier to v2
Sep 20, 2022
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
from
September 20, 2022 16:05
6919ac4
to
0b4ff75
Compare
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
from
September 20, 2022 16:08
0b4ff75
to
ff21e9b
Compare
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
2 times, most recently
from
March 25, 2023 00:27
7f79c5e
to
a1d8e3b
Compare
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
from
March 27, 2023 23:34
a1d8e3b
to
23eb78f
Compare
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
from
May 28, 2023 11:27
23eb78f
to
d2ffadf
Compare
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
from
May 29, 2024 01:27
d2ffadf
to
393069e
Compare
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
3 times, most recently
from
September 30, 2024 05:14
0fd7e1b
to
2a1ece4
Compare
renovate
bot
force-pushed
the
renovate/prettier-2.x
branch
from
September 30, 2024 05:21
2a1ece4
to
a7adedb
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.0.0
Release Notes
prettier/prettier (prettier)
v2.8.8
Compare Source
This version is a republished version of v2.8.7.
A bad version was accidentally published and it can't be unpublished, apologies for the churn.
v2.8.7
Compare Source
diff
Allow multiple decorators on same getter/setter (#14584 by @fisker)
v2.8.6
Compare Source
diff
Allow decorators on private members and class expressions (#14548 by @fisker)
v2.8.5
Compare Source
diff
Support TypeScript 5.0 (#14391 by @fisker, #13819 by @fisker, @sosukesuzuki)
TypeScript 5.0 introduces two new syntactic features:
const
modifiers for type parametersexport type *
declarationsAdd missing parentheses for decorator (#14393 by @fisker)
Add parentheses for
TypeofTypeAnnotation
to improve readability (#14458 by @fisker)Support
max_line_length=off
when parsing.editorconfig
(#14516 by @josephfrazier)If an .editorconfig file is in your project and it sets
max_line_length=off
for the file you're formatting,it will be interpreted as a
printWidth
ofInfinity
rather than being ignored(which previously resulted in the default
printWidth
of 80 being applied, if not overridden by Prettier-specific configuration).v2.8.4
Compare Source
diff
Fix leading comments in mapped types with
readonly
(#13427 by @thorn0, @sosukesuzuki)Group params in opening block statements (#14067 by @jamescdavis)
This is a follow-up to #13930 to establish wrapping consistency between opening block statements and else blocks by
grouping params in opening blocks. This causes params to break to a new line together and not be split across lines
unless the length of params exceeds the print width. This also updates the else block wrapping to behave exactly the
same as opening blocks.
Ignore files in
.sl/
(#14206 by @bolinfest)In Sapling SCM,
.sl/
is the folder where it stores its state, analogous to.git/
in Git. It should be ignored in Prettier like the other SCM folders.Recognize
@satisfies
in Closure-style type casts (#14262 by @fisker)Fix parens in inferred function return types with
extends
(#14279 by @fisker)v2.8.3
Compare Source
diff
Allow self-closing tags on custom elements (#14170 by @fisker)
See Angular v15.1.0 release note for details.
v2.8.2
Compare Source
diff
Don't lowercase link references (#13155 by @DerekNonGeneric & @fisker)
Preserve self-closing tags (#13691 by @dcyriller)
Allow custom "else if"-like blocks with block params (#13930 by @jamescdavis)
#13507 added support for custom block keywords used with
else
, but failed to allow block params. This updates printer-glimmer to allow block params with custom "else if"-like blocks.Preserve empty lines between nested SCSS maps (#13931 by @jneander)
Fix missing parentheses when an expression statement starts with
let[
(#14000, #14044 by @fisker, @thorn0)Fix semicolon duplicated at the end of LESS file (#14007 by @mvorisek)
Fix no space after unary minus when followed by opening parenthesis in LESS (#14008 by @mvorisek)
Do not change case of property name if inside a variable declaration in LESS (#14034 by @mvorisek)
Fix formatting for auto-accessors with comments (#14038 by @fisker)
Add parentheses for TSTypeQuery to improve readability (#14042 by @onishi-kohei)
Fix displacing of comments in default switch case (#14047 by @thorn0)
It was a regression in Prettier 2.6.0.
Support type annotations on auto accessors via
babel-ts
(#14049 by @sosukesuzuki)The bug that
@babel/parser
cannot parse auto accessors with type annotations has been fixed. So we now support it viababel-ts
parser.Fix formatting of empty type parameters (#14073 by @fisker)
Add parentheses to head of
ExpressionStatement
instead of the whole statement (#14077 by @fisker)Fix comments after directive (#14081 by @fisker)
Fix formatting for comments inside JSX attribute (#14082 by @fisker)
Quote numeric keys for json-stringify parser (#14083 by @fisker)
Fix removing commas from function arguments in maps (#14089 by @sosukesuzuki)
Do not insert space in LESS property access (#14103 by @fisker)
v2.8.1
Compare Source
diff
Fix SCSS map in arguments (#9184 by @agamkrbit)
Support auto accessors syntax (#13919 by @sosukesuzuki)
Support for Auto Accessors Syntax landed in TypeScript 4.9.
(Doesn't work well with
babel-ts
parser)v2.8.0
Compare Source
diff
🔗 Release Notes
v2.7.1
Compare Source
diff
Keep useful empty lines in description (#13013 by @chimurai)
v2.7.0
Compare Source
"""
First line
Second Line
"""
type Person {
name: String
}
v2.6.2
Compare Source
diff
Fix LESS/SCSS format error (#12536 by @fisker)
Update
meriyah
to fix several bugs (#12567 by @fisker, fixes inmeriyah
by @3cp)Fixes bugs when parsing following valid code:
v2.6.1
Compare Source
diff
Ignore
loglevel
when printing information (#12477 by @fisker)v2.6.0
Compare Source
prettier --loglevel silent --find-config-path index.js
v2.5.1
Compare 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 [email protected] 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.0
Compare Source
diff
🔗 Release Notes
v2.4.1
Compare 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-ast
CLI flag for debugging.v2.4.0
Compare Source
diff
🔗 Release Notes
v2.3.2
Compare Source
diff
Fix failure on dir with trailing slash (#11000 by @fisker)
v2.3.1
Compare Source
$ prettier . -l
1.js
$ prettier ./ -l
[error] No supported files were found in the directory: "./".
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
.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)v2.0.2
Compare 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-ignore
in union types (#7798 by @thorn0)v2.0.1
Compare Source
diff
API: Fix build script to not corrupt
import-fresh
module (#7820 by @thorn0)v2.0.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 is behind base branch, 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.