We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
DiagnosticCategory.Message
1 parent 59e7bcc commit 437c87eCopy full SHA for 437c87e
1 file changed
packages/vscode/extension.js
@@ -13,10 +13,13 @@ try {
13
if (args[0] === extensionJsPath) {
14
let text = readFileSync(...args);
15
16
- // patch getFixableDiagnosticsForContext
+ // Fix DiagnosticCategory.Message display
17
+ text = text.replace('.category){case', '.category){case "message":return 2;case')
18
+
19
+ // Patch getFixableDiagnosticsForContext
20
text = text.replace('t.has(e.code+"")', s => `(${s}||e.source==="tsslint")`);
21
- // support "Fix all"
22
+ // Support "Fix all"
23
for (const replaceText of [
24
'const i=new y(t,n,r);',
25
// VSCode 1.93.1 (#36)
0 commit comments