Skip to content

Commit

Permalink
chore: update knip config
Browse files Browse the repository at this point in the history
  • Loading branch information
tszhong0411 committed Feb 9, 2025
1 parent 8f162b0 commit 38fac91
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions knip.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ const config: KnipConfig = {
vitest: {
config: ['vitest.{config,shared,workspace}.ts']
},
// TailwindCSS v4 is not detectable currently
ignoreDependencies: ['prettier-plugin-*', 'sharp', 'tailwindcss'],
ignoreDependencies: [
'prettier-plugin-*',
'sharp',
// TailwindCSS v4 is not detectable currently
'tailwindcss',
// Can't detect `pnpm with-env tsx`
'tsx'
],
workspaces: {
'.': {
entry: ['turbo/generators/config.ts']
Expand All @@ -18,6 +24,9 @@ const config: KnipConfig = {
entry: ['content-collections.ts', 'src/i18n/request.ts'],
ignore: ['**/e2e/**']
},
'packages/db': {
entry: ['src/seed.ts']
},
'packages/eslint-config': {
// @see https://github.com/francoismassart/eslint-plugin-tailwindcss/issues/325
ignoreDependencies: ['@eslint/config-inspector', 'eslint-plugin-tailwindcss']
Expand Down

0 comments on commit 38fac91

Please sign in to comment.