Files
drop/knip.json
John Smith f61b698fb9 chore(knip): reduce false positives and cover desktop/main
Server entries now include Nuxt i18n convention files, the ast-grep
rule sources, tests, dev-tools and deployment scripts, and the nested
desktop/main workspace is excluded here and analyzed with its own config.
2026-09-13 15:39:13 -04:00

46 lines
1.1 KiB
JSON

{
"$schema": "./node_modules/knip/schema.json",
"workspaces": {
".": {
"entry": ["lefthook.yml"],
"ignoreDependencies": [
"lefthook",
"knip",
"@ast-grep/cli",
"prettier",
"prettier-plugin-sort-json"
]
},
"desktop": {
"entry": ["build.mjs"],
"ignore": ["main/**"]
},
"libraries/base": {},
"server": {
"entry": [
"app.vue",
"error.vue",
"nuxt.config.ts",
"plugins/**/*.{ts,js}",
"middleware/**/*.{ts,js}",
"layouts/**/*.vue",
"composables/**/*.{ts,js}",
"utils/**/*.{ts,js}",
"**/__tests__/**/*.{ts,js}",
"dev-tools/**/*.{ts,js,mjs}",
"i18n/**/*.{ts,js}",
"rules/**/*.{ts,mts}",
"deploy-template/**/*.mjs"
],
"ignore": [".nuxt/**", ".output/**", ".data/**", "build/**"],
"ignoreDependencies": ["vue-i18n"],
"project": ["**/*.{ts,js,mjs,vue}"]
},
"sites/docs": {},
"sites/promo": {
"entry": ["content-collections.ts"],
"ignoreDependencies": ["content-collections"]
}
}
}