-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathknip.config.ts
More file actions
40 lines (39 loc) · 992 Bytes
/
knip.config.ts
File metadata and controls
40 lines (39 loc) · 992 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
35
36
37
38
39
40
import type { KnipConfig } from 'knip'
export default {
workspaces: {
'.': {
entry: ['scripts/*.ts'],
project: '**/*.ts'
},
'packages/gunshi': {
entry: ['src/constants.ts']
},
'packages/plugin-completion': {
ignore: ['examples/**/*.ts', 'src/bombshell/*.ts']
},
'packages/plugin-i18n': {
ignoreDependencies: ['@gunshi/plugin-global']
},
'packages/docs': {
entry: ['src/.vitepress/config.ts', 'src/.vitepress/theme/index.ts'],
ignore: ['src/.vitepress/banner.js', 'src/.vitepress/theme/components/GunshiBanner.vue'],
ignoreDependencies: ['@vueuse/core']
}
},
ignore: [
'playground/deno/main.ts',
'**/src/**.test-d.ts',
'bench/**',
'design/**/*.ts',
'playground/**'
],
ignoreDependencies: [
'lint-staged',
'deno',
'mitata',
'gunshi019',
'@kazupon/prettier-config',
'@kazupon/eslint-plugin',
'@typescript/native-preview'
]
} satisfies KnipConfig