Skip to content

Commit 880cfa1

Browse files
committed
Fix tests for biome 2.0.5
1 parent 84c50bd commit 880cfa1

File tree

5 files changed

+3
-53
lines changed

5 files changed

+3
-53
lines changed

linters/biome/plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ lint:
5050
affects_cache:
5151
- package.json
5252
- .editorconfig # Undocumented config file
53-
known_good_version: 1.9.4
53+
known_good_version: 2.0.5
5454
version_command:
5555
parse_regex: biome CLI version ${semver}
5656
run: biome --version

linters/biome/test_data/biome_v1.9.4_error.check.shot

Lines changed: 0 additions & 39 deletions
This file was deleted.

linters/biome/test_data/biome_v1.9.4_basic_check.check.shot renamed to linters/biome/test_data/biome_v2.0.5_basic_check.check.shot

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,7 @@ exports[`Testing linter biome test basic_check 1`] = `
1111
"level": "LEVEL_HIGH",
1212
"line": "13",
1313
"linter": "biome",
14-
"message": "This block statement doesn't serve any purpose and can be safely removed.",
15-
"targetType": "typescript",
16-
},
17-
{
18-
"code": "lint/style/useEnumInitializers",
19-
"column": "6",
20-
"file": "test_data/basic_check.in.ts",
21-
"issueClass": "ISSUE_CLASS_EXISTING",
22-
"level": "LEVEL_HIGH",
23-
"line": "4",
24-
"linter": "biome",
25-
"message": "This enum declaration contains members that are implicitly initialized.",
14+
"message": "Formatter would have printed the following content:",
2615
"targetType": "typescript",
2716
},
2817
],

linters/biome/test_data/biome_v1.9.4_basic_fmt.fmt.shot renamed to linters/biome/test_data/biome_v2.0.5_basic_fmt.fmt.shot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exports[`Testing formatter biome test basic_fmt 1`] = `
55
const barfoo = () => {};
66

77
enum Bar {
8-
Baz = 0,
8+
Baz,
99
}
1010

1111
const foo = (bar: Bar) => {
File renamed without changes.

0 commit comments

Comments
 (0)