-
Notifications
You must be signed in to change notification settings - Fork 1
/
.depcheckrc.yml
36 lines (32 loc) · 724 Bytes
/
.depcheckrc.yml
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
ignores: [
"typescript",
# Used as a script in package.json
"rollup", # for yarn build
"rimraf", # for yarn clean
# Configured with the jest.config.js
"jest-environment-jsdom",
# Helper library sideloaded by jest
"tslib",
"ts-jest", # transformer for jest to work with typescript
"@types/jest",
"canvas" # without this, Chart.js can't run in the test system
]
skip-missing: true
# https://github.com/depcheck/depcheck/issues/615
parsers:
"**/*.mjs":
- "es6"
"**/*.cjs":
- "es6"
"**/*.mts":
- "typescript"
"**/*.cts":
- "typescript"
"**/*.jsx":
- "jsx"
"**/*.tsx":
- "typescript"
"**/*.ts":
- "typescript"
"**/*.js":
- "es6"