Skip to content

Fix bug (last line of code block determination) #99

Fix bug (last line of code block determination)

Fix bug (last line of code block determination) #99

Triggered via pull request January 20, 2024 12:43
Status Success
Total duration 33s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

reviewdog.yml

on: pull_request
runner / shellcheck
6s
runner / shellcheck
runner / shfmt
8s
runner / shfmt
runner / actionlint
11s
runner / actionlint
runner / misspell
8s
runner / misspell
runner / alex
25s
runner / alex
Fit to window
Zoom out
Zoom in

Annotations

10 errors
[Biome] testdata/error/lint.js#L1: testdata/error/lint.js#L1
expected `,` but instead found `a` ``` > 1 │ [a a, ++b, ] = test; │ ^ 2 │ ``` i Remove a
[Biome] testdata/error/lint.js#L1: testdata/error/lint.js#L1
Invalid assignment to `++b` ``` > 1 │ [a a, ++b, ] = test; │ ^^^ 2 │ ``` i This expression cannot be assigned to
[Biome] testdata/error/lint.js: testdata/error/lint.js#L0
Format with errors is disabled.
[Biome] testdata/error/format.js: testdata/error/format.js#L0
File content differs from formatting output ``` 1 │ - const·a·=·[2,2,1,3]; 1 │ + const·a·=·[2,·2,·1,·3]; 2 2 │ ```
[Biome] testdata/error/format.ts: testdata/error/format.ts#L0
File content differs from formatting output ``` 1 │ - import·type·{ 2 │ - ··A, 3 │ - }·from·'a'; 1 │ + import·type·{·A·}·from·"a"; 4 2 │ console.log("These two lines are not detected by diagnostics."); 5 3 │ console.log("Test for patterns when the last line of output by Biome isn't an empty line"); ```
[Biome] testdata/error/format.js: testdata/error/format.js#L0
File content differs from formatting output ``` 1 │ - const·a·=·[2,2,1,3]; 1 │ + const·a·=·[2,·2,·1,·3]; 2 2 │ ```
[Biome] testdata/error/format.ts: testdata/error/format.ts#L0
File content differs from formatting output ``` 1 │ - import·type·{ 2 │ - ··A, 3 │ - }·from·'a'; 1 │ + import·type·{·A·}·from·"a"; 4 2 │ console.log("These two lines are not detected by diagnostics."); 5 3 │ console.log("Test for patterns when the last line of output by Biome isn't an empty line"); ```
[Biome] testdata/error/lint.js#L1: testdata/error/lint.js#L1
expected `,` but instead found `a` ``` > 1 │ [a a, ++b, ] = test; │ ^ 2 │ ``` i Remove a
[Biome] testdata/error/lint.js#L1: testdata/error/lint.js#L1
Invalid assignment to `++b` ``` > 1 │ [a a, ++b, ] = test; │ ^^^ 2 │ ``` i This expression cannot be assigned to
[Biome] testdata/error/lint.js: testdata/error/lint.js#L0
Format with errors is disabled.