diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2021-01-26 21:55:59 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-26 21:55:59 +1100 |
commit | 8b6893438ade5031640576f44ac4ce71a384c5b9 (patch) | |
tree | e943672e9be9e64ca46a8c53a57954d613dae4d9 /cli/lsp/diagnostics.rs | |
parent | 2828690fc7bb510c3248dda7b1cda8793e789ca6 (diff) |
fix(lsp): complete list of unused diagnostics (#9274)
Diffstat (limited to 'cli/lsp/diagnostics.rs')
-rw-r--r-- | cli/lsp/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/diagnostics.rs b/cli/lsp/diagnostics.rs index 1637249d6..a69d0cd2d 100644 --- a/cli/lsp/diagnostics.rs +++ b/cli/lsp/diagnostics.rs @@ -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, |