mirror of
https://github.com/coder/code-server.git
synced 2024-11-26 12:34:02 +03:00
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.
|
||||
|
5
test/test-plugin/.eslintrc.yaml
Normal file
5
test/test-plugin/.eslintrc.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
settings:
|
||||
import/resolver:
|
||||
alias:
|
||||
map:
|
||||
- [code-server, ../../typings/pluginapi.d.ts]
|
Loading…
Reference in New Issue
Block a user