Skip to content

Commit 47ae60d

Browse files
committed
fix: knip
1 parent bc755c2 commit 47ae60d

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

docs/tsconfig.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
// https://nuxt.com/docs/guide/concepts/typescript
3+
"files": [],
4+
"references": [
5+
{
6+
"path": "./.nuxt/tsconfig.app.json"
7+
},
8+
{
9+
"path": "./.nuxt/tsconfig.server.json"
10+
},
11+
{
12+
"path": "./.nuxt/tsconfig.shared.json"
13+
},
14+
{
15+
"path": "./.nuxt/tsconfig.node.json"
16+
}
17+
]
18+
}

knip.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ const config: KnipConfig = {
5151
project: ['src/**/*.ts!', '!src/mock-*.ts'],
5252
},
5353
'docs': {
54-
entry: ['app/**/*.{ts,vue,css}'],
54+
entry: ['app/**/*.{ts,vue,css}', 'shared/**/*.{ts,vue,css}'],
55+
project: ['**/*.{ts,vue,cjs,mjs}'],
5556
ignoreDependencies: ['@nuxtjs/mdc'],
5657
},
5758
},

0 commit comments

Comments
 (0)