parent
4bd9cde9dc
commit
eb88dbd0f2
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ export default class LanguageProvider {
|
|||
this.client.diagnosticsManager.diagnosticsReceived(diagnosticsKind, file.toString(), diagnostics.filter(diag => {
|
||||
if (!reportUnnecessary) {
|
||||
diag.tags = undefined
|
||||
if (diag.reportUnnecessary && diag.severity === DiagnosticSeverity.Hint) {
|
||||
if (diag.reportUnnecessary && diag.severity === DiagnosticSeverity.Information) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue