-
Notifications
You must be signed in to change notification settings - Fork 14
chore(deps): update dependency prettier to v2.8.8 #306
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
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #306 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 17 17
=========================================
Hits 17 17 |
2c1fa0f to
d8de890
Compare
d8de890 to
bf8a9d7
Compare
Codecov Report
@@ Coverage Diff @@
## master #306 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 17 17
=========================================
Hits 17 17 |
bf8a9d7 to
c3b9249
Compare
c3b9249 to
1a5e55f
Compare
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more |
1a5e55f to
1af2032
Compare
1af2032 to
b6b0b36
Compare
b6b0b36 to
2d2839a
Compare
2d2839a to
c67f554
Compare
c67f554 to
1d7a3a9
Compare
1d7a3a9 to
3658093
Compare
3658093 to
8f0d15e
Compare
8f0d15e to
95eca43
Compare
95eca43 to
970afe4
Compare
970afe4 to
9e7835c
Compare
9e7835c to
0542664
Compare
This PR contains the following updates:
2.0.5->2.8.8Release Notes
prettier/prettier (prettier)
v2.8.8Compare 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.7Compare Source
diff
Allow multiple decorators on same getter/setter (#14584 by @fisker)
v2.8.6Compare Source
diff
Allow decorators on private members and class expressions (#14548 by @fisker)
v2.8.5Compare Source
diff
Support TypeScript 5.0 (#14391 by @fisker, #13819 by @fisker, @sosukesuzuki)
TypeScript 5.0 introduces two new syntactic features:
constmodifiers for type parametersexport type *declarationsAdd missing parentheses for decorator (#14393 by @fisker)
Add parentheses for
TypeofTypeAnnotationto improve readability (#14458 by @fisker)Support
max_line_length=offwhen parsing.editorconfig(#14516 by @josephfrazier)If an .editorconfig file is in your project and it sets
max_line_length=offfor the file you're formatting,it will be interpreted as a
printWidthofInfinityrather than being ignored(which previously resulted in the default
printWidthof 80 being applied, if not overridden by Prettier-specific configuration).v2.8.4Compare 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
@satisfiesin Closure-style type casts (#14262 by @fisker)Fix parens in inferred function return types with
extends(#14279 by @fisker)v2.8.3Compare Source
diff
Allow self-closing tags on custom elements (#14170 by @fisker)
See Angular v15.1.0 release note for details.
v2.8.2Compare 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/parsercannot parse auto accessors with type annotations has been fixed. So we now support it viababel-tsparser.Fix formatting of empty type parameters (#14073 by @fisker)
Add parentheses to head of
ExpressionStatementinstead 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.1Compare 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-tsparser)v2.8.0Compare Source
diff
🔗 Release Notes
v2.7.1Compare Source
diff
Keep useful empty lines in description (#13013 by @chimurai)
v2.7.0Compare Source
"""
First line
Second Line
"""
type Person {
name: String
}
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
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.