-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.depcheckrc
More file actions
36 lines (31 loc) · 937 Bytes
/
.depcheckrc
File metadata and controls
36 lines (31 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright IBM Corp. 2025
# Assisted by CursorAI
# Ignore these dependencies that are used but not detected by depcheck
ignores:
# VSCode API is imported as 'vscode' but the package is '@types/vscode'
- "vscode"
# React dependencies used in webview libs (external bundles, not npm dependencies)
- "react"
- "@graphiql/react"
# Test runner used by vscode-test command but not directly imported
- "@vscode/test-electron"
# Depcheck itself is used via npx in scripts
- "depcheck"
# Ignore these patterns - webview libs are bundled separately
ignorePatterns:
- "webview/**"
- "dist/**"
- "out/**"
- "*.vsix"
# Skip missing dependencies check for known false positives
skipMissing: false
# Custom parsers for different file types
parsers:
"**/*.ts": "typescript"
"**/*.js": "es6"
"**/*.mjs": "es6"
# Detectors to use
detectors:
- "requireCallExpression"
- "importDeclaration"
- "exportDeclaration"