Repository navigation
Expose diagnostic_level in Biome LSP
#10559
josephine-njooi
started this conversation in
Ideas
Replies: 1 comment 2 replies
|
This is already possible: https://biomejs.dev/reference/vscode/#biomeinlineconfig |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am using Biome with VSCode, and find it helpful to start with the recommended set of rules. We only care about rules that error and do not care about warning or information rules, and have configured this in our CI by running
biome check . --diagnostic-level=error.In VSCode, I would only like to see the squiggles for errors, and not for warning or information (which I find distracting). This has been a requested feature in the biome-vscode extension, but was closed because the diagnostic level is not in exposed setting in the LSP.
This is thus a feature request to expose
diagnostic_levelin the LSP, so that editors can customize rule severity.An alternate solution to my use case would be to expose a way to configure the
recommendedruleset by severity, e.g. a single setting to turn off all rules that are warning and below.All reactions