forked from freeCodeCamp/freeCodeCamp
-
Notifications
You must be signed in to change notification settings - Fork 7
/
knip.jsonc
37 lines (35 loc) · 962 Bytes
/
knip.jsonc
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
37
{
"$schema": "https://unpkg.com/knip@1/schema.json",
"ignore": "**/*.d.ts",
// Only workspaces with a configuration below are analyzed by Knip
"workspaces": {
".": {
// No custom entry/project files in root workspace to not interfere with workspaces that are not set up yet
"entry": [],
"cypress": {
// Override all Cypress entry patterns as (only) spec paths don't match the default
"entry": [
"cypress.config.js",
"cypress/e2e/**/*.{js,ts}",
"cypress/support/*.ts",
"cypress/plugins/index.js"
]
}
},
"client": {
"webpack": "webpack-workers.js",
"ignore": ["**/__mocks__"]
},
"client/plugins/*": {
"entry": "gatsby-node.js"
},
// "tools/ui-components": {},
"tools/scripts/build": {
"entry": ["*.ts"]
}
},
"ignoreDependencies": [
// framerunner throws error if removed
"@babel/runtime"
]
}