Skip to content

Commit

Permalink
fix(vscode): Text duplication when using VSCode git utilities rome#4338
Browse files Browse the repository at this point in the history
… (rome#4376) (rome#4234)

fix(vscode): Text duplication when using VSCode git utilities rome#4338

Co-authored-by: Denis Bezrukov <[email protected]>
  • Loading branch information
Conaclos and denbezrukov authored Apr 16, 2023
1 parent 75af95e commit 309d186
Show file tree
Hide file tree
Showing 343 changed files with 5,330 additions and 1,309 deletions.
52 changes: 52 additions & 0 deletions crates/rome_formatter_test/src/prettier/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/rome_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": "2.8.1"
"prettier": "2.8.4"
},
"devDependencies": {
"@types/prettier": "^2.7.1"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/arrays/holes-in-args.js
assertion_line: 212
info: js/arrays/holes-in-args.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
assertion_line: 212
info: js/arrays/issue-10159.js
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/arrays/numbers-negative.js
assertion_line: 212
info: js/arrays/numbers-negative.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/arrays/numbers-with-holes.js
assertion_line: 212
info: js/arrays/numbers-with-holes.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/arrays/numbers-with-tricky-comments.js
assertion_line: 212
info: js/arrays/numbers-with-tricky-comments.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/arrows-bind/arrows-bind.js
assertion_line: 212
info: js/arrows-bind/arrows-bind.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/arrows/arrow_function_expression.js
assertion_line: 212
info: js/arrows/arrow_function_expression.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/arrows/curried.js
assertion_line: 212
info: js/arrows/curried.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/arrows/currying-2.js
assertion_line: 212
info: js/arrows/currying-2.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/arrows/issue-1389-curry.js
assertion_line: 212
info: js/arrows/issue-1389-curry.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/arrows/newline-before-arrow/newline-before-arrow.js
assertion_line: 212
info: js/arrows/newline-before-arrow/newline-before-arrow.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/async-do-expressions/async-do-expressions.js
assertion_line: 212
info: js/async-do-expressions/async-do-expressions.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/babel-plugins/async-do-expressions.js
assertion_line: 212
info: js/babel-plugins/async-do-expressions.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/babel-plugins/decimal.js
assertion_line: 212
info: js/babel-plugins/decimal.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/babel-plugins/do-expressions.js
assertion_line: 212
info: js/babel-plugins/do-expressions.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/babel-plugins/export-default-from.js
assertion_line: 212
info: js/babel-plugins/export-default-from.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/babel-plugins/function-bind.js
assertion_line: 212
info: js/babel-plugins/function-bind.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/babel-plugins/module-blocks.js
assertion_line: 212
info: js/babel-plugins/module-blocks.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/babel-plugins/partial-application.js
assertion_line: 212
info: js/babel-plugins/partial-application.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/babel-plugins/pipeline-operator-fsharp.js
assertion_line: 212
info: js/babel-plugins/pipeline-operator-fsharp.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/babel-plugins/pipeline-operator-hack.js
assertion_line: 212
info: js/babel-plugins/pipeline-operator-hack.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/babel-plugins/pipeline-operator-minimal.js
assertion_line: 212
info: js/babel-plugins/pipeline-operator-minimal.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/babel-plugins/record-tuple-record.js
assertion_line: 212
info: js/babel-plugins/record-tuple-record.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/babel-plugins/record-tuple-tuple.js
assertion_line: 212
info: js/babel-plugins/record-tuple-tuple.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/babel-plugins/throw-expressions.js
assertion_line: 212
info: js/babel-plugins/throw-expressions.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/babel-plugins/v8intrinsic.js
assertion_line: 212
info: js/babel-plugins/v8intrinsic.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/bind-expressions/await.js
assertion_line: 212
info: js/bind-expressions/await.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/bind-expressions/bind_parens.js
assertion_line: 212
info: js/bind-expressions/bind_parens.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/bind-expressions/long_name_method.js
assertion_line: 212
info: js/bind-expressions/long_name_method.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/bind-expressions/method_chain.js
assertion_line: 212
info: js/bind-expressions/method_chain.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/bind-expressions/short_name_method.js
assertion_line: 212
info: js/bind-expressions/short_name_method.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
source: crates/rome_formatter_test/src/snapshot_builder.rs
info:
test_file: js/bind-expressions/unary.js
assertion_line: 212
info: js/bind-expressions/unary.js
---

# Input
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(class {} + 1);
(class a {} + 1);
(class extends b {} + 1);
(class a extends b {} + 1);
(class {}) + 1;
(class a {}) + 1;
(class extends b {}) + 1;
(class a extends b {}) + 1;
Loading

0 comments on commit 309d186

Please sign in to comment.