Skip to content

Commit c3975f4

Browse files
[autofix.ci] apply automated fixes
1 parent feba078 commit c3975f4

File tree

1 file changed

+62
-62
lines changed

1 file changed

+62
-62
lines changed

knip.ts

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,72 @@
11
import type { KnipConfig } from 'knip'
22

33
const config: KnipConfig = {
4-
workspaces: {
5-
'.': {
6-
entry: [
7-
'app/router.options.ts!',
8-
'app/app.vue!',
9-
'app/error.vue!',
10-
'app/pages/**/*.vue!',
11-
'app/components/**/*.vue!',
12-
'app/components/**/*.d.vue.ts!',
13-
'app/composables/**/*.ts!',
14-
'app/middleware/**/*.ts!',
15-
'app/plugins/**/*.ts!',
16-
'app/utils/**/*.ts!',
17-
'server/**/*.ts!',
18-
'modules/**/*.ts!',
19-
'config/**/*.ts!',
20-
'lunaria/**/*.ts!',
21-
'shared/**/*.ts!',
22-
'i18n/**/*.ts',
23-
'lunaria.config.ts',
24-
'pwa-assets.config.ts',
25-
'.lighthouserc.cjs',
26-
'lighthouse-setup.cjs',
27-
'uno-preset-rtl.ts!',
28-
'scripts/**/*.ts',
29-
],
30-
project: [
31-
'**/*.{ts,vue,cjs,mjs}',
32-
'!test/fixtures/**',
33-
'!test/test-utils/**',
34-
'!test/e2e/helpers/**',
35-
'!cli/src/**',
36-
],
37-
ignoreDependencies: [
38-
'@iconify-json/*',
39-
'@voidzero-dev/vite-plus-core',
40-
'vite-plus!',
41-
'puppeteer',
42-
/** Needs to be explicitly installed, even though it is not imported, to avoid type errors. */
43-
'unplugin-vue-router',
44-
'vite-plugin-pwa',
45-
'@vueuse/shared',
4+
workspaces: {
5+
'.': {
6+
entry: [
7+
'app/router.options.ts!',
8+
'app/app.vue!',
9+
'app/error.vue!',
10+
'app/pages/**/*.vue!',
11+
'app/components/**/*.vue!',
12+
'app/components/**/*.d.vue.ts!',
13+
'app/composables/**/*.ts!',
14+
'app/middleware/**/*.ts!',
15+
'app/plugins/**/*.ts!',
16+
'app/utils/**/*.ts!',
17+
'server/**/*.ts!',
18+
'modules/**/*.ts!',
19+
'config/**/*.ts!',
20+
'lunaria/**/*.ts!',
21+
'shared/**/*.ts!',
22+
'i18n/**/*.ts',
23+
'lunaria.config.ts',
24+
'pwa-assets.config.ts',
25+
'.lighthouserc.cjs',
26+
'lighthouse-setup.cjs',
27+
'uno-preset-rtl.ts!',
28+
'scripts/**/*.ts',
29+
],
30+
project: [
31+
'**/*.{ts,vue,cjs,mjs}',
32+
'!test/fixtures/**',
33+
'!test/test-utils/**',
34+
'!test/e2e/helpers/**',
35+
'!cli/src/**',
36+
],
37+
ignoreDependencies: [
38+
'@iconify-json/*',
39+
'@voidzero-dev/vite-plus-core',
40+
'vite-plus!',
41+
'puppeteer',
42+
/** Needs to be explicitly installed, even though it is not imported, to avoid type errors. */
43+
'unplugin-vue-router',
44+
'vite-plugin-pwa',
45+
'@vueuse/shared',
4646

47-
/** Some components import types from here, but installing it directly could lead to a version mismatch */
48-
'vue-router',
47+
/** Some components import types from here, but installing it directly could lead to a version mismatch */
48+
'vue-router',
4949

50-
/** Oxlint plugins don't get picked up yet */
51-
'@e18e/eslint-plugin',
52-
'eslint-plugin-regexp',
50+
/** Oxlint plugins don't get picked up yet */
51+
'@e18e/eslint-plugin',
52+
'eslint-plugin-regexp',
5353

54-
/** Used in test/e2e/helpers/ which is excluded from knip project scope */
55-
'h3-next',
54+
/** Used in test/e2e/helpers/ which is excluded from knip project scope */
55+
'h3-next',
5656

57-
/** Used in Storybook config but not explicitly installed, it's a transitive dependency of @nuxtjs/storybook */
58-
'@storybook-vue/nuxt',
59-
],
60-
ignoreUnresolved: ['#components', '#oauth/config'],
61-
},
62-
'cli': {
63-
project: ['src/**/*.ts!', '!src/mock-*.ts'],
64-
},
65-
'docs': {
66-
entry: ['app/**/*.{ts,vue}'],
67-
ignoreDependencies: ['docus', 'better-sqlite3', '@nuxtjs/mdc', 'nuxt!'],
68-
},
69-
},
57+
/** Used in Storybook config but not explicitly installed, it's a transitive dependency of @nuxtjs/storybook */
58+
'@storybook-vue/nuxt',
59+
],
60+
ignoreUnresolved: ['#components', '#oauth/config'],
61+
},
62+
'cli': {
63+
project: ['src/**/*.ts!', '!src/mock-*.ts'],
64+
},
65+
'docs': {
66+
entry: ['app/**/*.{ts,vue}'],
67+
ignoreDependencies: ['docus', 'better-sqlite3', '@nuxtjs/mdc', 'nuxt!'],
68+
},
69+
},
7070
}
7171

7272
export default config

0 commit comments

Comments
 (0)