Disable annoying warning 80001 permanently

This commit is contained in:
sup39 2021-01-28 11:19:14 +09:00
parent 7a742d6a3b
commit 98db6c9963
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
## Local Change
Disable annoying warning `[tsserver 80001] [I] File is a CommonJS module; it may be converted to an ES6 module.` permanently.
# coc-tsserver
Tsserver language server extension for

View file

@ -149,7 +149,7 @@ export class DiagnosticsManager {
// Still show unused
return x.code == 6133
}
return enabled
return x.code !== 80001 // disable annoying CommonJS module warning
})
}