Skip to content

Commit

Permalink
refactor: update prettier snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Conaclos committed Nov 14, 2023
1 parent 80a7987 commit 43b8794
Show file tree
Hide file tree
Showing 69 changed files with 105 additions and 2,459 deletions.
2 changes: 1 addition & 1 deletion crates/biome_formatter_test/src/prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"start": "node prepare_tests"
},
"dependencies": {
"prettier": "3.0.0"
"prettier": "3.1.0"
},
"engines": {
"pnpm": "^8.0.0"
Expand Down
18 changes: 0 additions & 18 deletions crates/biome_formatter_test/src/prettier/pnpm-lock.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
params["redirectTo"] = `${window.location.pathname}${window.location.search}${window.location.hash}`;

params["redirectTo"]["codePointAt"]["name"] =
`${window.location.pathname}${window.location.search}${window.location.hash}`;

params.redirectTo.bar.bar.ba.barab["foo"].abr =
`${window.location.pathname}${window.location.search}${window.location.hash}`;
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
params[
"redirectTo"
] = `${window.location.pathname}${window.location.search}${window.location.hash}`;

params["redirectTo"]["codePointAt"][
"name"
] = `${window.location.pathname}${window.location.search}${window.location.hash}`;

params.redirectTo.bar.bar.ba.barab[
"foo"
].abr = `${window.location.pathname}${window.location.search}${window.location.hash}`;

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function function_declaration()
// return 42
// })();


// FIXME
// TODO: reformat issue
// (function ()
Expand All @@ -34,7 +35,7 @@ a = {
// this is a function
{},

// bar: function()
// // this is a function
// {},
// bar: function()
// // this is a function
// {},
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function function_declaration()
// return 42
// })();


// FIXME
// TODO: reformat issue
// (function ()
Expand All @@ -42,9 +43,9 @@ a = {
// this is a function
{},

// bar: function()
// // this is a function
// {},
// bar: function()
// // this is a function
// {},
}

```
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function multilineBlockNextLine() {
return (
/**
* @type {string}
*/
*/
'result'
)
}
Expand Down Expand Up @@ -163,7 +163,7 @@ function singleLineBlockSameLine() {

function singleLineBlockNextLine() {
return (
/** Result below */
/** Result below */
'result'
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function multilineBlockNextLine() {
return (
/**
* @type {string}
*/
*/
'result'
)
}
Expand Down Expand Up @@ -171,7 +171,7 @@ function singleLineBlockSameLine() {

function singleLineBlockNextLine() {
return (
/** Result below */
/** Result below */
'result'
)
}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 43b8794

Please sign in to comment.