mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
fix(lsp): complete list of unused diagnostics (#9274)
This commit is contained in:
parent
2828690fc7
commit
8b6893438a
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ fn ts_json_to_diagnostics(
|
|||
),
|
||||
tags: match d.code {
|
||||
// These are codes that indicate the variable is unused.
|
||||
6133 | 6192 | 6196 => {
|
||||
2695 | 6133 | 6138 | 6192 | 6196 | 6198 | 6199 | 7027 | 7028 => {
|
||||
Some(vec![lsp_types::DiagnosticTag::Unnecessary])
|
||||
}
|
||||
_ => None,
|
||||
|
|
Loading…
Reference in a new issue