Skip to content
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Biome completed Jan 20, 2024 in 0s

reviewdog [Biome] report

reported by reviewdog 🐢

Findings (5)

testdata/error/lint.js|1 col 4| expected , but instead found a

> 1 β”‚ [a a, ++b, ] = test;
    β”‚    ^
  2 β”‚

i Remove a
testdata/error/lint.js|1 col 7| Invalid assignment to ++b

> 1 β”‚ [a a, ++b, ] = test;
    β”‚       ^^^
  2 β”‚

i This expression cannot be assigned to
testdata/error/lint.js|| Format with errors is disabled.
testdata/error/format.js|| File content differs from formatting output

  1   β”‚ - constΒ·aΒ·=Β·[2,2,1,3];
    1 β”‚ + constΒ·aΒ·=Β·[2,Β·2,Β·1,Β·3];
  2 2 β”‚

testdata/error/format.ts|| 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");
</details>
<details>
<summary>Filtered Findings (0)</summary>

</details>

Annotations

Check failure on line 1 in testdata/error/lint.js

See this annotation in the file changed.

@github-actions github-actions / Biome

[Biome] testdata/error/lint.js#L1

expected `,` but instead found `a`
```
> 1 β”‚ [a a, ++b, ] = test;
    β”‚    ^
  2 β”‚
```
i Remove a
Raw output
error/lint.js:1:4 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  Γ— expected `,` but instead found `a`

  ```
  > 1 β”‚ [a a, ++b, ] = test;
      β”‚    ^
    2 β”‚
  ```
  i Remove a

Check failure on line 1 in testdata/error/lint.js

See this annotation in the file changed.

@github-actions github-actions / Biome

[Biome] testdata/error/lint.js#L1

Invalid assignment to `++b`
```
> 1 β”‚ [a a, ++b, ] = test;
    β”‚       ^^^
  2 β”‚
```
i This expression cannot be assigned to
Raw output
error/lint.js:1:7 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  Γ— Invalid assignment to `++b`

  ```
  > 1 β”‚ [a a, ++b, ] = test;
      β”‚       ^^^
    2 β”‚
  ```
  i This expression cannot be assigned to

Check failure on line 0 in testdata/error/lint.js

See this annotation in the file changed.

@github-actions github-actions / Biome

[Biome] testdata/error/lint.js

Format with errors is disabled.
Raw output
error/lint.js format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  Γ— Format with errors is disabled.

Check failure on line 0 in testdata/error/format.js

See this annotation in the file changed.

@github-actions github-actions / Biome

[Biome] testdata/error/format.js

File content differs from formatting output
```
  1   β”‚ - constΒ·aΒ·=Β·[2,2,1,3];
    1 β”‚ + constΒ·aΒ·=Β·[2,Β·2,Β·1,Β·3];
  2 2 β”‚
```
Raw output
error/format.js format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  Γ— File content differs from formatting output

  ```
    1   β”‚ - constΒ·aΒ·=Β·[2,2,1,3];
      1 β”‚ + constΒ·aΒ·=Β·[2,Β·2,Β·1,Β·3];
    2 2 β”‚
  ```

Check failure on line 0 in testdata/error/format.ts

See this annotation in the file changed.

@github-actions github-actions / Biome

[Biome] testdata/error/format.ts

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");
Raw output
error/format.ts format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  Γ— 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");