Skip to content

Commit 9647d65

Browse files
committed
Add code-server alias to eslint
1 parent 2879bd4 commit 9647d65

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.eslintrc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ rules:
3535
[error, { alphabetize: { order: "asc" }, groups: [["builtin", "external", "internal"], "parent", "sibling"] }]
3636
no-async-promise-executor: off
3737
# This isn't a real module, just types, which apparently doesn't resolve.
38-
import/no-unresolved: [error, { ignore: ["express-serve-static-core", "code-server"] }]
38+
import/no-unresolved: [error, { ignore: ["express-serve-static-core"] }]
3939

4040
settings:
4141
# Does not work with CommonJS unfortunately.

test/test-plugin/.eslintrc.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
settings:
2+
import/resolver:
3+
alias:
4+
map:
5+
- [code-server, ../../typings/pluginapi.d.ts]

0 commit comments

Comments
 (0)