mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 23:13:02 +01:00
Merge pull request #47 from spahnke/mark-unnecessary
Adopt monaco.MarkerTag API
This commit is contained in:
commit
92c4b95f7e
1 changed files with 2 additions and 1 deletions
|
|
@ -201,7 +201,8 @@ export class DiagnosticsAdapter extends Adapter {
|
|||
endLineNumber,
|
||||
endColumn,
|
||||
message: flattenDiagnosticMessageText(diag.messageText, '\n'),
|
||||
code: diag.code.toString()
|
||||
code: diag.code.toString(),
|
||||
tags: diag.reportsUnnecessary ? [monaco.MarkerTag.Unnecessary] : []
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue