Disable annoying warning 80001 permanently
This commit is contained in:
parent
7a742d6a3b
commit
98db6c9963
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue