-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Description
Summary
bun.lock reports warnings for trailing commas that cannot be ignored, even though the file is controlled by Bun.
Description
This will happen in any project with a bun.lock file produced by a bun install command.
bun.lock is correctly registered as JSONC, but it doesn't really make sense to report diagnostics since it is managed by Bun. Since trailing commas seem to be allowed in JSONC files, it is debatable whether these warnings should be present in any JSONC file, but I'm not aware of the rationale.
Steps to reproduce:
- Open Zed in a Bun project with a bun.lock file.
Expected Behavior:
No diagnostics reported for bun.lock.
Actual Behavior:
The diagnostics panel indicates warnings for trailing commas in bun.lock.
Zed Version and System Specs
Zed: v0.208.6 (Zed)
OS: macOS 15.7
Memory: 16 GiB
Architecture: aarch64
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels