Skip to content

Commit df5f95b

Browse files
authored
vscode: allow trailing comma in bun.lock (#15747)
1 parent 59e06b0 commit df5f95b

File tree

5 files changed

+230
-6
lines changed

5 files changed

+230
-6
lines changed

packages/bun-vscode/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ At its core is the _Bun runtime_, a fast JavaScript runtime designed as a drop-i
3131

3232
When running programs with Bun from a Visual Studio Code terminal, Bun will connect to the extension and report errors as they happen, at the exact location they happened. We recommend using this feature with `bun --watch` so you can see errors on every save.
3333

34-
![Error messages example](./error-messages.gif)
34+
![Error messages example](https://raw.githubusercontent.com/oven-sh/bun/refs/heads/main/packages/bun-vscode/error-messages.gif)
3535

3636
<div align="center">
3737
<sup>In the example above VSCode is saving on every keypress. Under normal configuration you'd only see errors on every save.</sup>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"title": "JSON schema for bun.lock files.",
4+
"allowTrailingCommas": true,
5+
"type": "object"
6+
}

0 commit comments

Comments
 (0)