@knip/mcp 0.0.24 → 0.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/package.json +3 -3
  2. package/src/docs/docs/features/compilers.md +11 -0
  3. package/src/docs/docs/reference/faq.md +3 -3
  4. package/src/docs/docs/reference/plugins/angular.md +5 -6
  5. package/src/docs/docs/reference/plugins/astro-db.md +6 -6
  6. package/src/docs/docs/reference/plugins/astro-og-canvas.md +1 -3
  7. package/src/docs/docs/reference/plugins/astro.md +5 -6
  8. package/src/docs/docs/reference/plugins/ava.md +6 -6
  9. package/src/docs/docs/reference/plugins/babel.md +2 -5
  10. package/src/docs/docs/reference/plugins/biome.md +6 -6
  11. package/src/docs/docs/reference/plugins/bumpp.md +2 -5
  12. package/src/docs/docs/reference/plugins/bun.md +5 -6
  13. package/src/docs/docs/reference/plugins/c8.md +2 -5
  14. package/src/docs/docs/reference/plugins/capacitor.md +5 -6
  15. package/src/docs/docs/reference/plugins/changelogen.md +2 -5
  16. package/src/docs/docs/reference/plugins/changelogithub.md +2 -5
  17. package/src/docs/docs/reference/plugins/changesets.md +5 -6
  18. package/src/docs/docs/reference/plugins/commitizen.md +7 -6
  19. package/src/docs/docs/reference/plugins/commitlint.md +2 -5
  20. package/src/docs/docs/reference/plugins/convex.md +6 -6
  21. package/src/docs/docs/reference/plugins/create-typescript-app.md +5 -6
  22. package/src/docs/docs/reference/plugins/cspell.md +2 -5
  23. package/src/docs/docs/reference/plugins/cucumber.md +8 -7
  24. package/src/docs/docs/reference/plugins/cypress.md +5 -6
  25. package/src/docs/docs/reference/plugins/danger.md +5 -6
  26. package/src/docs/docs/reference/plugins/dependency-cruiser.md +6 -8
  27. package/src/docs/docs/reference/plugins/docusaurus.md +5 -6
  28. package/src/docs/docs/reference/plugins/dotenv.md +2 -5
  29. package/src/docs/docs/reference/plugins/drizzle.md +5 -6
  30. package/src/docs/docs/reference/plugins/eleventy.md +10 -7
  31. package/src/docs/docs/reference/plugins/eslint.md +5 -12
  32. package/src/docs/docs/reference/plugins/execa.md +1 -3
  33. package/src/docs/docs/reference/plugins/expo.md +10 -7
  34. package/src/docs/docs/reference/plugins/expressive-code.md +5 -6
  35. package/src/docs/docs/reference/plugins/gatsby.md +2 -5
  36. package/src/docs/docs/reference/plugins/github-action.md +5 -6
  37. package/src/docs/docs/reference/plugins/github-actions.md +6 -6
  38. package/src/docs/docs/reference/plugins/glob.md +2 -5
  39. package/src/docs/docs/reference/plugins/graphql-codegen.md +2 -5
  40. package/src/docs/docs/reference/plugins/hardhat.md +5 -6
  41. package/src/docs/docs/reference/plugins/husky.md +2 -5
  42. package/src/docs/docs/reference/plugins/i18next-parser.md +6 -8
  43. package/src/docs/docs/reference/plugins/jest.md +7 -8
  44. package/src/docs/docs/reference/plugins/karma.md +2 -5
  45. package/src/docs/docs/reference/plugins/knex.md +5 -6
  46. package/src/docs/docs/reference/plugins/ladle.md +8 -7
  47. package/src/docs/docs/reference/plugins/lefthook.md +2 -5
  48. package/src/docs/docs/reference/plugins/lint-staged.md +2 -5
  49. package/src/docs/docs/reference/plugins/linthtml.md +2 -5
  50. package/src/docs/docs/reference/plugins/lockfile-lint.md +2 -5
  51. package/src/docs/docs/reference/plugins/lost-pixel.md +5 -6
  52. package/src/docs/docs/reference/plugins/markdownlint.md +6 -6
  53. package/src/docs/docs/reference/plugins/mdx.md +5 -6
  54. package/src/docs/docs/reference/plugins/mdxlint.md +2 -5
  55. package/src/docs/docs/reference/plugins/metro.md +9 -6
  56. package/src/docs/docs/reference/plugins/mocha.md +10 -9
  57. package/src/docs/docs/reference/plugins/moonrepo.md +7 -6
  58. package/src/docs/docs/reference/plugins/msw.md +8 -7
  59. package/src/docs/docs/reference/plugins/nano-staged.md +2 -5
  60. package/src/docs/docs/reference/plugins/nest.md +8 -6
  61. package/src/docs/docs/reference/plugins/netlify.md +8 -7
  62. package/src/docs/docs/reference/plugins/next-intl.md +5 -6
  63. package/src/docs/docs/reference/plugins/next-mdx.md +8 -7
  64. package/src/docs/docs/reference/plugins/next.md +5 -6
  65. package/src/docs/docs/reference/plugins/nitro.md +6 -8
  66. package/src/docs/docs/reference/plugins/node-modules-inspector.md +3 -7
  67. package/src/docs/docs/reference/plugins/node.md +6 -8
  68. package/src/docs/docs/reference/plugins/nodemon.md +2 -5
  69. package/src/docs/docs/reference/plugins/npm-package-json-lint.md +2 -5
  70. package/src/docs/docs/reference/plugins/nuxt.md +5 -6
  71. package/src/docs/docs/reference/plugins/nx.md +4 -9
  72. package/src/docs/docs/reference/plugins/nyc.md +2 -5
  73. package/src/docs/docs/reference/plugins/oclif.md +5 -6
  74. package/src/docs/docs/reference/plugins/openapi-ts.md +2 -5
  75. package/src/docs/docs/reference/plugins/oxfmt.md +8 -8
  76. package/src/docs/docs/reference/plugins/oxlint.md +7 -8
  77. package/src/docs/docs/reference/plugins/panda-css.md +33 -0
  78. package/src/docs/docs/reference/plugins/parcel.md +5 -6
  79. package/src/docs/docs/reference/plugins/payload.md +6 -6
  80. package/src/docs/docs/reference/plugins/playwright-ct.md +5 -6
  81. package/src/docs/docs/reference/plugins/playwright-test.md +2 -5
  82. package/src/docs/docs/reference/plugins/playwright.md +9 -9
  83. package/src/docs/docs/reference/plugins/plop.md +5 -6
  84. package/src/docs/docs/reference/plugins/pm2.md +2 -5
  85. package/src/docs/docs/reference/plugins/pnpm.md +5 -6
  86. package/src/docs/docs/reference/plugins/postcss.md +2 -5
  87. package/src/docs/docs/reference/plugins/preconstruct.md +5 -6
  88. package/src/docs/docs/reference/plugins/prettier.md +2 -5
  89. package/src/docs/docs/reference/plugins/prisma.md +7 -8
  90. package/src/docs/docs/reference/plugins/qwik.md +5 -6
  91. package/src/docs/docs/reference/plugins/raycast.md +5 -6
  92. package/src/docs/docs/reference/plugins/react-cosmos.md +5 -6
  93. package/src/docs/docs/reference/plugins/react-native.md +5 -6
  94. package/src/docs/docs/reference/plugins/react-router.md +2 -5
  95. package/src/docs/docs/reference/plugins/relay.md +7 -8
  96. package/src/docs/docs/reference/plugins/release-it.md +6 -6
  97. package/src/docs/docs/reference/plugins/remark.md +2 -5
  98. package/src/docs/docs/reference/plugins/remix.md +2 -5
  99. package/src/docs/docs/reference/plugins/rolldown.md +33 -0
  100. package/src/docs/docs/reference/plugins/rollup.md +6 -8
  101. package/src/docs/docs/reference/plugins/rsbuild.md +5 -6
  102. package/src/docs/docs/reference/plugins/rslib.md +5 -6
  103. package/src/docs/docs/reference/plugins/rspack.md +5 -6
  104. package/src/docs/docs/reference/plugins/rstest.md +5 -6
  105. package/src/docs/docs/reference/plugins/sanity.md +2 -5
  106. package/src/docs/docs/reference/plugins/semantic-release.md +2 -5
  107. package/src/docs/docs/reference/plugins/sentry.md +5 -6
  108. package/src/docs/docs/reference/plugins/simple-git-hooks.md +2 -5
  109. package/src/docs/docs/reference/plugins/size-limit.md +2 -5
  110. package/src/docs/docs/reference/plugins/sst.md +5 -6
  111. package/src/docs/docs/reference/plugins/starlight.md +5 -6
  112. package/src/docs/docs/reference/plugins/stencil.md +36 -0
  113. package/src/docs/docs/reference/plugins/storybook.md +8 -7
  114. package/src/docs/docs/reference/plugins/stryker.md +5 -6
  115. package/src/docs/docs/reference/plugins/stylelint.md +2 -5
  116. package/src/docs/docs/reference/plugins/svelte.md +6 -6
  117. package/src/docs/docs/reference/plugins/sveltekit.md +5 -6
  118. package/src/docs/docs/reference/plugins/svgo.md +5 -6
  119. package/src/docs/docs/reference/plugins/svgr.md +2 -5
  120. package/src/docs/docs/reference/plugins/swc.md +5 -6
  121. package/src/docs/docs/reference/plugins/syncpack.md +2 -5
  122. package/src/docs/docs/reference/plugins/tailwind.md +14 -7
  123. package/src/docs/docs/reference/plugins/tanstack-router.md +8 -7
  124. package/src/docs/docs/reference/plugins/taskfile.md +2 -5
  125. package/src/docs/docs/reference/plugins/travis.md +5 -6
  126. package/src/docs/docs/reference/plugins/ts-node.md +2 -5
  127. package/src/docs/docs/reference/plugins/tsdown.md +7 -8
  128. package/src/docs/docs/reference/plugins/tsup.md +7 -8
  129. package/src/docs/docs/reference/plugins/tsx.md +6 -8
  130. package/src/docs/docs/reference/plugins/typedoc.md +3 -7
  131. package/src/docs/docs/reference/plugins/typescript.md +7 -10
  132. package/src/docs/docs/reference/plugins/unbuild.md +5 -6
  133. package/src/docs/docs/reference/plugins/unocss.md +2 -5
  134. package/src/docs/docs/reference/plugins/vercel-og.md +2 -5
  135. package/src/docs/docs/reference/plugins/vike.md +2 -5
  136. package/src/docs/docs/reference/plugins/vite.md +6 -8
  137. package/src/docs/docs/reference/plugins/vitepress.md +2 -5
  138. package/src/docs/docs/reference/plugins/vitest.md +3 -7
  139. package/src/docs/docs/reference/plugins/vue.md +5 -6
  140. package/src/docs/docs/reference/plugins/webdriver-io.md +5 -6
  141. package/src/docs/docs/reference/plugins/webpack.md +6 -8
  142. package/src/docs/docs/reference/plugins/wireit.md +5 -6
  143. package/src/docs/docs/reference/plugins/wrangler.md +5 -6
  144. package/src/docs/docs/reference/plugins/xo.md +6 -6
  145. package/src/docs/docs/reference/plugins/yarn.md +8 -7
  146. package/src/docs/docs/reference/plugins/yorkie.md +5 -6
  147. package/src/docs/docs/reference/plugins/zx.md +1 -3
  148. package/src/docs/docs/reference/plugins.md +8 -1
  149. package/src/docs/docs/sponsors.mdx +2 -2
  150. /package/{license → LICENSE} +0 -0
@@ -15,7 +15,9 @@ If this plugin is enabled, the following configuration is added automatically:
15
15
  ```json
16
16
  {
17
17
  "rspack": {
18
- "config": ["rspack.config*.{js,ts,mjs,mts,cjs,cts}"]
18
+ "config": [
19
+ "rspack.config*.{js,ts,mjs,mts,cjs,cts}"
20
+ ]
19
21
  }
20
22
  }
21
23
  ```
@@ -24,11 +26,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
24
26
 
25
27
  Custom `config` or `entry` options override default values, they are not merged.
26
28
 
27
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
29
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
28
30
 
29
31
  ## Generated from source
30
32
 
31
- This page was generated from the [rspack plugin source code][2].
32
-
33
- [1]: ../../explanations/plugins.md
34
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/rspack/index.ts
33
+ This page was generated from the [rspack plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/rspack/index.ts).
@@ -15,7 +15,9 @@ If this plugin is enabled, the following configuration is added automatically:
15
15
  ```json
16
16
  {
17
17
  "rstest": {
18
- "config": ["rstest.config.{js,cjs,mjs,ts,cts,mts}"]
18
+ "config": [
19
+ "rstest.config.{js,cjs,mjs,ts,cts,mts}"
20
+ ]
19
21
  }
20
22
  }
21
23
  ```
@@ -24,11 +26,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
24
26
 
25
27
  Custom `config` or `entry` options override default values, they are not merged.
26
28
 
27
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
29
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
28
30
 
29
31
  ## Generated from source
30
32
 
31
- This page was generated from the [rstest plugin source code][2].
32
-
33
- [1]: ../../explanations/plugins.md
34
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/rstest/index.ts
33
+ This page was generated from the [rstest plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/rstest/index.ts).
@@ -28,11 +28,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
28
28
 
29
29
  Custom `config` or `entry` options override default values, they are not merged.
30
30
 
31
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
31
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
32
32
 
33
33
  ## Generated from source
34
34
 
35
- This page was generated from the [sanity plugin source code][2].
36
-
37
- [1]: ../../explanations/plugins.md
38
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/sanity/index.ts
35
+ This page was generated from the [sanity plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/sanity/index.ts).
@@ -31,11 +31,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
31
31
 
32
32
  Custom `config` or `entry` options override default values, they are not merged.
33
33
 
34
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
34
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
35
35
 
36
36
  ## Generated from source
37
37
 
38
- This page was generated from the [semantic-release plugin source code][2].
39
-
40
- [1]: ../../explanations/plugins.md
41
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/semantic-release/index.ts
38
+ This page was generated from the [semantic-release plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/semantic-release/index.ts).
@@ -17,7 +17,9 @@ If this plugin is enabled, the following configuration is added automatically:
17
17
  ```json
18
18
  {
19
19
  "sentry": {
20
- "entry": ["sentry.{client,server,edge}.config.{js,ts}"]
20
+ "entry": [
21
+ "sentry.{client,server,edge}.config.{js,ts}"
22
+ ]
21
23
  }
22
24
  }
23
25
  ```
@@ -26,11 +28,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
26
28
 
27
29
  Custom `config` or `entry` options override default values, they are not merged.
28
30
 
29
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
31
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
30
32
 
31
33
  ## Generated from source
32
34
 
33
- This page was generated from the [sentry plugin source code][2].
34
-
35
- [1]: ../../explanations/plugins.md
36
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/sentry/index.ts
35
+ This page was generated from the [sentry plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/sentry/index.ts).
@@ -28,11 +28,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
28
28
 
29
29
  Custom `config` or `entry` options override default values, they are not merged.
30
30
 
31
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
31
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
32
32
 
33
33
  ## Generated from source
34
34
 
35
- This page was generated from the [simple-git-hooks plugin source code][2].
36
-
37
- [1]: ../../explanations/plugins.md
38
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/simple-git-hooks/index.ts
35
+ This page was generated from the [simple-git-hooks plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/simple-git-hooks/index.ts).
@@ -28,11 +28,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
28
28
 
29
29
  Custom `config` or `entry` options override default values, they are not merged.
30
30
 
31
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
31
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
32
32
 
33
33
  ## Generated from source
34
34
 
35
- This page was generated from the [size-limit plugin source code][2].
36
-
37
- [1]: ../../explanations/plugins.md
38
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/size-limit/index.ts
35
+ This page was generated from the [size-limit plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/size-limit/index.ts).
@@ -15,7 +15,9 @@ If this plugin is enabled, the following configuration is added automatically:
15
15
  ```json
16
16
  {
17
17
  "sst": {
18
- "config": ["sst.config.ts"]
18
+ "config": [
19
+ "sst.config.ts"
20
+ ]
19
21
  }
20
22
  }
21
23
  ```
@@ -24,11 +26,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
24
26
 
25
27
  Custom `config` or `entry` options override default values, they are not merged.
26
28
 
27
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
29
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
28
30
 
29
31
  ## Generated from source
30
32
 
31
- This page was generated from the [sst plugin source code][2].
32
-
33
- [1]: ../../explanations/plugins.md
34
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/sst/index.ts
33
+ This page was generated from the [sst plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/sst/index.ts).
@@ -15,7 +15,9 @@ If this plugin is enabled, the following configuration is added automatically:
15
15
  ```json
16
16
  {
17
17
  "starlight": {
18
- "config": ["astro.config.{js,cjs,mjs,ts,mts}"]
18
+ "config": [
19
+ "astro.config.{js,cjs,mjs,ts,mts}"
20
+ ]
19
21
  }
20
22
  }
21
23
  ```
@@ -24,11 +26,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
24
26
 
25
27
  Custom `config` or `entry` options override default values, they are not merged.
26
28
 
27
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
29
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
28
30
 
29
31
  ## Generated from source
30
32
 
31
- This page was generated from the [starlight plugin source code][2].
32
-
33
- [1]: ../../explanations/plugins.md
34
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/starlight/index.ts
33
+ This page was generated from the [starlight plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/starlight/index.ts).
@@ -0,0 +1,36 @@
1
+ ---
2
+ title: Stencil
3
+ sidebar:
4
+ hidden: true
5
+ ---
6
+
7
+ ## Enabled
8
+
9
+ This plugin is enabled if `"@stencil/core"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
10
+
11
+ ## Default configuration
12
+
13
+ If this plugin is enabled, the following configuration is added automatically:
14
+
15
+ ```json
16
+ {
17
+ "stencil": {
18
+ "config": [
19
+ "stencil.config.{ts,js}"
20
+ ],
21
+ "entry": [
22
+ "src/**/*.tsx"
23
+ ]
24
+ }
25
+ }
26
+ ```
27
+
28
+ Depending on local configuration, plugins may modify the defaults as shown.
29
+
30
+ Custom `config` or `entry` options override default values, they are not merged.
31
+
32
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
33
+
34
+ ## Generated from source
35
+
36
+ This page was generated from the [stencil plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/stencil/index.ts).
@@ -19,12 +19,16 @@ If this plugin is enabled, the following configuration is added automatically:
19
19
  ```json
20
20
  {
21
21
  "storybook": {
22
- "config": [".{storybook,rnstorybook}/{main,test-runner}.{js,ts,mts}"],
22
+ "config": [
23
+ ".{storybook,rnstorybook}/{main,test-runner}.{js,ts,mts}"
24
+ ],
23
25
  "entry": [
24
26
  ".{storybook,rnstorybook}/{manager,preview,index,vitest.setup}.{js,jsx,ts,tsx}",
25
27
  "**/*.@(mdx|stories.@(mdx|js|jsx|mjs|ts|tsx))"
26
28
  ],
27
- "project": [".{storybook,rnstorybook}/**/*.{js,jsx,ts,tsx,mts}"]
29
+ "project": [
30
+ ".{storybook,rnstorybook}/**/*.{js,jsx,ts,tsx,mts}"
31
+ ]
28
32
  }
29
33
  }
30
34
  ```
@@ -33,11 +37,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
33
37
 
34
38
  Custom `config` or `entry` options override default values, they are not merged.
35
39
 
36
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
40
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
37
41
 
38
42
  ## Generated from source
39
43
 
40
- This page was generated from the [storybook plugin source code][2].
41
-
42
- [1]: ../../explanations/plugins.md
43
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/storybook/index.ts
44
+ This page was generated from the [storybook plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/storybook/index.ts).
@@ -15,7 +15,9 @@ If this plugin is enabled, the following configuration is added automatically:
15
15
  ```json
16
16
  {
17
17
  "stryker": {
18
- "config": ["?(.)stryker.{conf,config}.{js,mjs,cjs,json}"]
18
+ "config": [
19
+ "?(.)stryker.{conf,config}.{js,mjs,cjs,json}"
20
+ ]
19
21
  }
20
22
  }
21
23
  ```
@@ -24,11 +26,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
24
26
 
25
27
  Custom `config` or `entry` options override default values, they are not merged.
26
28
 
27
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
29
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
28
30
 
29
31
  ## Generated from source
30
32
 
31
- This page was generated from the [stryker plugin source code][2].
32
-
33
- [1]: ../../explanations/plugins.md
34
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/stryker/index.ts
33
+ This page was generated from the [stryker plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/stryker/index.ts).
@@ -31,11 +31,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
31
31
 
32
32
  Custom `config` or `entry` options override default values, they are not merged.
33
33
 
34
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
34
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
35
35
 
36
36
  ## Generated from source
37
37
 
38
- This page was generated from the [stylelint plugin source code][2].
39
-
40
- [1]: ../../explanations/plugins.md
41
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/stylelint/index.ts
38
+ This page was generated from the [stylelint plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/stylelint/index.ts).
@@ -15,7 +15,10 @@ If this plugin is enabled, the following configuration is added automatically:
15
15
  ```json
16
16
  {
17
17
  "svelte": {
18
- "entry": ["svelte.config.js", "vite.config.{js,mjs,ts,cjs,mts,cts}"]
18
+ "entry": [
19
+ "svelte.config.js",
20
+ "vite.config.{js,mjs,ts,cjs,mts,cts}"
21
+ ]
19
22
  }
20
23
  }
21
24
  ```
@@ -24,11 +27,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
24
27
 
25
28
  Custom `config` or `entry` options override default values, they are not merged.
26
29
 
27
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
30
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
28
31
 
29
32
  ## Generated from source
30
33
 
31
- This page was generated from the [svelte plugin source code][2].
32
-
33
- [1]: ../../explanations/plugins.md
34
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/svelte/index.ts
34
+ This page was generated from the [svelte plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/svelte/index.ts).
@@ -15,7 +15,9 @@ If this plugin is enabled, the following configuration is added automatically:
15
15
  ```json
16
16
  {
17
17
  "sveltekit": {
18
- "config": ["svelte.config.js"]
18
+ "config": [
19
+ "svelte.config.js"
20
+ ]
19
21
  }
20
22
  }
21
23
  ```
@@ -24,11 +26,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
24
26
 
25
27
  Custom `config` or `entry` options override default values, they are not merged.
26
28
 
27
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
29
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
28
30
 
29
31
  ## Generated from source
30
32
 
31
- This page was generated from the [sveltekit plugin source code][2].
32
-
33
- [1]: ../../explanations/plugins.md
34
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/sveltekit/index.ts
33
+ This page was generated from the [sveltekit plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/sveltekit/index.ts).
@@ -19,7 +19,9 @@ If this plugin is enabled, the following configuration is added automatically:
19
19
  ```json
20
20
  {
21
21
  "svgo": {
22
- "entry": ["svgo.config.{js,cjs,mjs}"]
22
+ "entry": [
23
+ "svgo.config.{js,cjs,mjs}"
24
+ ]
23
25
  }
24
26
  }
25
27
  ```
@@ -28,11 +30,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
28
30
 
29
31
  Custom `config` or `entry` options override default values, they are not merged.
30
32
 
31
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
33
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
32
34
 
33
35
  ## Generated from source
34
36
 
35
- This page was generated from the [svgo plugin source code][2].
36
-
37
- [1]: ../../explanations/plugins.md
38
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/svgo/index.ts
37
+ This page was generated from the [svgo plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/svgo/index.ts).
@@ -33,11 +33,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
33
33
 
34
34
  Custom `config` or `entry` options override default values, they are not merged.
35
35
 
36
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
36
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
37
37
 
38
38
  ## Generated from source
39
39
 
40
- This page was generated from the [svgr plugin source code][2].
41
-
42
- [1]: ../../explanations/plugins.md
43
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/svgr/index.ts
40
+ This page was generated from the [svgr plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/svgr/index.ts).
@@ -15,7 +15,9 @@ If this plugin is enabled, the following configuration is added automatically:
15
15
  ```json
16
16
  {
17
17
  "swc": {
18
- "config": [".swcrc"]
18
+ "config": [
19
+ ".swcrc"
20
+ ]
19
21
  }
20
22
  }
21
23
  ```
@@ -24,11 +26,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
24
26
 
25
27
  Custom `config` or `entry` options override default values, they are not merged.
26
28
 
27
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
29
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
28
30
 
29
31
  ## Generated from source
30
32
 
31
- This page was generated from the [swc plugin source code][2].
32
-
33
- [1]: ../../explanations/plugins.md
34
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/swc/index.ts
33
+ This page was generated from the [swc plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/swc/index.ts).
@@ -31,11 +31,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
31
31
 
32
32
  Custom `config` or `entry` options override default values, they are not merged.
33
33
 
34
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
34
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
35
35
 
36
36
  ## Generated from source
37
37
 
38
- This page was generated from the [syncpack plugin source code][2].
39
-
40
- [1]: ../../explanations/plugins.md
41
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/syncpack/index.ts
38
+ This page was generated from the [syncpack plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/syncpack/index.ts).
@@ -6,7 +6,15 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"tailwindcss"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if there's a match in `"dependencies"` or `"devDependencies"` in `package.json`:
10
+
11
+ - `tailwindcss`
12
+
13
+ - `@tailwindcss/vite`
14
+
15
+ - `@tailwindcss/postcss`
16
+
17
+ - `@tailwindcss/cli`
10
18
 
11
19
  ## Default configuration
12
20
 
@@ -15,7 +23,9 @@ If this plugin is enabled, the following configuration is added automatically:
15
23
  ```json
16
24
  {
17
25
  "tailwind": {
18
- "entry": ["tailwind.config.{js,cjs,mjs,ts}"]
26
+ "entry": [
27
+ "tailwind.config.{js,cjs,mjs,ts}"
28
+ ]
19
29
  }
20
30
  }
21
31
  ```
@@ -24,11 +34,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
24
34
 
25
35
  Custom `config` or `entry` options override default values, they are not merged.
26
36
 
27
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
37
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
28
38
 
29
39
  ## Generated from source
30
40
 
31
- This page was generated from the [tailwind plugin source code][2].
32
-
33
- [1]: ../../explanations/plugins.md
34
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/tailwind/index.ts
41
+ This page was generated from the [tailwind plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/tailwind/index.ts).
@@ -27,8 +27,12 @@ If this plugin is enabled, the following configuration is added automatically:
27
27
  ```json
28
28
  {
29
29
  "tanstack-router": {
30
- "config": ["tsr.config.json"],
31
- "entry": ["src/routeTree.gen.{ts,js}"]
30
+ "config": [
31
+ "tsr.config.json"
32
+ ],
33
+ "entry": [
34
+ "src/routeTree.gen.{ts,js}"
35
+ ]
32
36
  }
33
37
  }
34
38
  ```
@@ -37,11 +41,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
37
41
 
38
42
  Custom `config` or `entry` options override default values, they are not merged.
39
43
 
40
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
44
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
41
45
 
42
46
  ## Generated from source
43
47
 
44
- This page was generated from the [tanstack-router plugin source code][2].
45
-
46
- [1]: ../../explanations/plugins.md
47
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/tanstack-router/index.ts
48
+ This page was generated from the [tanstack-router plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/tanstack-router/index.ts).
@@ -33,11 +33,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
33
33
 
34
34
  Custom `config` or `entry` options override default values, they are not merged.
35
35
 
36
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
36
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
37
37
 
38
38
  ## Generated from source
39
39
 
40
- This page was generated from the [taskfile plugin source code][2].
41
-
42
- [1]: ../../explanations/plugins.md
43
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/taskfile/index.ts
40
+ This page was generated from the [taskfile plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/taskfile/index.ts).
@@ -15,7 +15,9 @@ If this plugin is enabled, the following configuration is added automatically:
15
15
  ```json
16
16
  {
17
17
  "travis": {
18
- "config": [".travis.yml"]
18
+ "config": [
19
+ ".travis.yml"
20
+ ]
19
21
  }
20
22
  }
21
23
  ```
@@ -24,11 +26,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
24
26
 
25
27
  Custom `config` or `entry` options override default values, they are not merged.
26
28
 
27
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
29
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
28
30
 
29
31
  ## Generated from source
30
32
 
31
- This page was generated from the [travis plugin source code][2].
32
-
33
- [1]: ../../explanations/plugins.md
34
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/travis/index.ts
33
+ This page was generated from the [travis plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/travis/index.ts).
@@ -20,11 +20,8 @@ boolean: ["transpileOnly", "compilerHost", "ignoreDiagnostics", "swc", "preferTs
20
20
  alias: {"transpileOnly": ["T"], "compilerHost": ["H"], "ignoreDiagnostics": ["D"]}
21
21
  ```
22
22
 
23
- The configuration was generated from source code. Also see [Script Parser][1].
23
+ The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).
24
24
 
25
25
  ## Generated from source
26
26
 
27
- This page was generated from the [ts-node plugin source code][2].
28
-
29
- [1]: ../../features/script-parser.md
30
- [2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/ts-node/index.ts
27
+ This page was generated from the [ts-node plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/ts-node/index.ts).
@@ -15,7 +15,10 @@ If this plugin is enabled, the following configuration is added automatically:
15
15
  ```json
16
16
  {
17
17
  "tsdown": {
18
- "config": ["tsdown.config.{ts,mts,cts,js,mjs,cjs,json}", "package.json"]
18
+ "config": [
19
+ "tsdown.config.{ts,mts,cts,js,mjs,cjs,json}",
20
+ "package.json"
21
+ ]
19
22
  }
20
23
  }
21
24
  ```
@@ -24,7 +27,7 @@ Depending on local configuration, plugins may modify the defaults as shown.
24
27
 
25
28
  Custom `config` or `entry` options override default values, they are not merged.
26
29
 
27
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
30
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
28
31
 
29
32
  ## Shell commands
30
33
 
@@ -35,12 +38,8 @@ binary. Configuration:
35
38
  config: true
36
39
  ```
37
40
 
38
- The configuration was generated from source code. Also see [Script Parser][2].
41
+ The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).
39
42
 
40
43
  ## Generated from source
41
44
 
42
- This page was generated from the [tsdown plugin source code][3].
43
-
44
- [1]: ../../explanations/plugins.md
45
- [2]: ../../features/script-parser.md
46
- [3]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/tsdown/index.ts
45
+ This page was generated from the [tsdown plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/tsdown/index.ts).
@@ -15,7 +15,10 @@ If this plugin is enabled, the following configuration is added automatically:
15
15
  ```json
16
16
  {
17
17
  "tsup": {
18
- "config": ["tsup.config.{js,ts,cjs,mjs,json}", "package.json"]
18
+ "config": [
19
+ "tsup.config.{js,ts,cjs,mjs,json}",
20
+ "package.json"
21
+ ]
19
22
  }
20
23
  }
21
24
  ```
@@ -24,7 +27,7 @@ Depending on local configuration, plugins may modify the defaults as shown.
24
27
 
25
28
  Custom `config` or `entry` options override default values, they are not merged.
26
29
 
27
- See [Plugins][1] for more details about plugins and their `entry` and `config` options.
30
+ See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
28
31
 
29
32
  ## Shell commands
30
33
 
@@ -35,12 +38,8 @@ binary. Configuration:
35
38
  config: true
36
39
  ```
37
40
 
38
- The configuration was generated from source code. Also see [Script Parser][2].
41
+ The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).
39
42
 
40
43
  ## Generated from source
41
44
 
42
- This page was generated from the [tsup plugin source code][3].
43
-
44
- [1]: ../../explanations/plugins.md
45
- [2]: ../../features/script-parser.md
46
- [3]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/tsup/index.ts
45
+ This page was generated from the [tsup plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/tsup/index.ts).