-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy pathknip.ts
More file actions
34 lines (33 loc) · 878 Bytes
/
knip.ts
File metadata and controls
34 lines (33 loc) · 878 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
import type { KnipConfig } from "knip"
const config: KnipConfig = {
entry: [
"src/background/index.ts",
"src/pages/app/index.ts",
"src/pages/popup/{index,skeleton}.ts",
"src/pages/side/index.ts",
"src/content-script/index.ts",
"src/content-script/limit/modal/index.ts",
"script/user-chart/{add,render}.ts",
"examples/gist/mock-server.ts",
"examples/notification/demo-server.ts",
],
ignoreDependencies: [
"@rstest/coverage-istanbul",
"tsconfig-paths",
],
rspack: {
config: ["rspack/rspack.{dev,prod,e2e,analyze}*.ts"],
},
rstest: {
config: [
"test/rstest.config.mts",
"test-e2e/rstest.config.mts",
]
},
commitlint: {
config: [
".commitlintrc.ts",
]
}
}
export default config