mirror of https://git.tuxpa.in/a/code-server.git
Add code-server alias to eslint
This commit is contained in:
parent
2879bd4c22
commit
9647d65e52
|
@ -35,7 +35,7 @@ rules:
|
|||
[error, { alphabetize: { order: "asc" }, groups: [["builtin", "external", "internal"], "parent", "sibling"] }]
|
||||
no-async-promise-executor: off
|
||||
# This isn't a real module, just types, which apparently doesn't resolve.
|
||||
import/no-unresolved: [error, { ignore: ["express-serve-static-core", "code-server"] }]
|
||||
import/no-unresolved: [error, { ignore: ["express-serve-static-core"] }]
|
||||
|
||||
settings:
|
||||
# Does not work with CommonJS unfortunately.
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
settings:
|
||||
import/resolver:
|
||||
alias:
|
||||
map:
|
||||
- [code-server, ../../typings/pluginapi.d.ts]
|
Loading…
Reference in New Issue