Skip to content

Commit 283f478

Browse files
committed
Avoid * and spell out all allowed node modules to have squiggles when importing vscode by accident
1 parent 46e068c commit 283f478

File tree

1 file changed

+48
-4
lines changed

1 file changed

+48
-4
lines changed

.eslintrc.json

Lines changed: 48 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,54 @@
109109
// - electron-main
110110
"when": "hasNode",
111111
"allow": [
112-
"@microsoft/*",
113-
"@vscode/*",
114-
"@parcel/*",
115-
"*"
112+
"@microsoft/applicationinsights-web",
113+
"@parcel/watcher",
114+
"@vscode/sqlite3",
115+
"@vscode/vscode-languagedetection",
116+
"@vscode/ripgrep",
117+
"@vscode/iconv-lite-umd",
118+
"applicationinsights",
119+
"assert",
120+
"child_process",
121+
"console",
122+
"cookie",
123+
"crypto",
124+
"electron",
125+
"events",
126+
"fs",
127+
"graceful-fs",
128+
"http",
129+
"https",
130+
"minimist",
131+
"native-keymap",
132+
"native-watchdog",
133+
"net",
134+
"node-pty",
135+
"os",
136+
"path",
137+
"perf_hooks",
138+
"spdlog",
139+
"stream",
140+
"string_decoder",
141+
"tas-client-umd",
142+
"tls",
143+
"url",
144+
"util",
145+
"v8-inspect-profiler",
146+
"vscode-proxy-agent",
147+
"vscode-regexpp",
148+
"vscode-textmate",
149+
"windows-process-tree",
150+
"worker_threads",
151+
"xterm",
152+
"xterm-addon-search",
153+
"xterm-addon-serialize",
154+
"xterm-addon-unicode11",
155+
"xterm-addon-webgl",
156+
"xterm-headless",
157+
"yauzl",
158+
"yazl",
159+
"zlib"
116160
]
117161
},
118162
{

0 commit comments

Comments
 (0)