-
-
Notifications
You must be signed in to change notification settings - Fork 296
Open
Description
I noticed that the processing for biomejs lines isn't correct. Not sure if the biome reporter changed over time or why this is the case, but currently biomejs does not return diagnostics to neovim when it should. I poked around enough to see the problem lies here. I am willing to work on this myself, but want to make sure I'm understanding that this is a problem. There are structured reporters biomejs can output I would switch to.
Sample biomejs output I'm seeing:
> biome lint
biome.json:2:13 deserialize ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ℹ The configuration schema version does not match the CLI version 2.3.7
1 │ {
> 2 │ "$schema": "https://biomejs.dev/schemas/2.3.0/schema.json",
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 │ "vcs": {
4 │ "enabled": true,
ℹ Expected: 2.3.7
Found: 2.3.0
ℹ Run the command biome migrate to migrate the configuration file.
src/examples/findApp.ts:223:5 lint/style/useTemplate FIXABLE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ℹ Template literals are preferred over string concatenation.
221 │ } else {
222 │ this.graphics.text(
> 223 │ "Digs Left:" + this.state.action_points,
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
224 │ this.graphics.matrixPool.get(),
225 │ {},
ℹ Unsafe fix: Use a template literal.
221 221 │ } else {
222 222 │ this.graphics.text(
223 │ - → → → → "Digs·Left:"·+·this.state.action_points,
223 │ + → → → → `Digs·Left:${this.state.action_points}`,
224 224 │ this.graphics.matrixPool.get(),
225 225 │ {},
Checked 22 files in 93ms. No fixes applied.
Found 2 infos.
Metadata
Metadata
Assignees
Labels
No labels