Files
freeCodeCamp/knip.jsonc
Lars Kappert e5715b5948 chore: update knip config (#49778)
* chore: update knip config

* chore: stick to knip v1 in npm scripts
2023-03-21 11:23:26 +05:30

34 lines
867 B
JSON

{
"$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"]
}
}
}