未验证 提交 9647d65e 编写于 作者: A Asher

Add code-server alias to eslint

上级 2879bd4c
......@@ -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.
......
settings:
import/resolver:
alias:
map:
- [code-server, ../../typings/pluginapi.d.ts]
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册