renovate/prettier-2.x
main
This PR contains the following updates:
~2.2.1
~2.6.0
v2.6.2
Compare Source
diff
// Input .background-gradient(@​cut) { background: linear-gradient( to right, @​white 0%, @​white (@​cut - 0.01%), @​portal-background @​cut, @​portal-background 100% ); } // Prettier 2.6.1 TypeError: Cannot read properties of undefined (reading 'endOffset') // Prettier 2.6.2 .background-gradient(@​cut) { background: linear-gradient( to right, @​white 0%, @​white (@​cut - 0.01%), @​portal-background @​cut, @​portal-background 100% ); }
meriyah
Fixes bugs when parsing following valid code:
foo(await bar());
const regex = /.*/ms;
const element = <p>{/w/.test(s)}</p>;
class A extends B { #privateMethod() { super.method(); } }
v2.6.1
loglevel
v2.6.0
prettier --loglevel silent --find-config-path index.js
v2.5.1
// Input type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4; // Prettier 2.5.0 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [ ] ? Foo3 : Foo4; // Prettier 2.5.0 (tailingCommma = all) // Invalid TypeScript code type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [ , ] ? Foo3 : Foo4; // Prettier 2.5.1 type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [] ? Foo3 : Foo4;
A internal change in Prettier@v2.5.0 accidentally breaks the Jest inline snapshot test.
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.
// Input <Component> <:named></:named> </Component> // Prettier 2.5.0 <Component> <:named /> </Component> // Prettier 2.5.1 <Component> <:named></:named> </Component>
v2.5.0
🔗 Release Notes
v2.4.1
@forward
// Input @​forward "library" as btn-*; // Prettier 2.4.0 @​forward "library" as btn- *; // Prettier 2.4.1 @​forward "library" as btn-*;
debug-print-ast
A new --debug-print-ast CLI flag for debugging.
--debug-print-ast
v2.4.0
v2.3.2
$ ls 1.js 1.unknown
v2.3.1
$ prettier . -l 1.js $ prettier ./ -l [error] No supported files were found in the directory: "./".
v2.3.0
📅 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 Renovate Bot.
No dependencies set.
The note is not visible to the blocked user.
This PR contains the following updates:
~2.2.1->~2.6.0Release 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
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 Renovate Bot.