@knip/mcp 0.0.18 → 0.0.20

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 (343) hide show
  1. package/package.json +17 -17
  2. package/src/docs/blog/for-editors-and-agents.md +47 -43
  3. package/src/docs/blog/knip-v3.mdx +1 -1
  4. package/src/docs/blog/knip-v4.mdx +2 -2
  5. package/src/docs/blog/two-years.mdx +1 -1
  6. package/src/docs/explanations/comparison-and-migration.md +4 -0
  7. package/src/docs/explanations/plugins.md +38 -10
  8. package/src/docs/features/auto-fix.mdx +22 -7
  9. package/src/docs/features/monorepos-and-workspaces.md +19 -4
  10. package/src/docs/features/production-mode.md +1 -1
  11. package/src/docs/features/reporters.md +9 -7
  12. package/src/docs/guides/configuring-project-files.md +13 -13
  13. package/src/docs/guides/contributing.md +1 -1
  14. package/src/docs/guides/handling-issues.mdx +183 -121
  15. package/src/docs/guides/issue-reproduction.md +21 -12
  16. package/src/docs/guides/performance.md +19 -8
  17. package/src/docs/guides/troubleshooting.md +7 -10
  18. package/src/docs/guides/using-knip-in-ci.md +16 -20
  19. package/src/docs/index.mdx +3 -3
  20. package/src/docs/overview/configuration.md +6 -6
  21. package/src/docs/overview/features.md +5 -5
  22. package/src/docs/overview/getting-started.mdx +15 -5
  23. package/src/docs/reference/cli.md +269 -243
  24. package/src/docs/reference/configuration.md +24 -7
  25. package/src/docs/reference/faq.md +111 -59
  26. package/src/docs/reference/jsdoc-tsdoc-tags.md +12 -1
  27. package/src/docs/reference/known-issues.md +43 -21
  28. package/src/docs/reference/plugins.md +15 -1
  29. package/src/docs/reference/related-tooling.md +3 -3
  30. package/src/docs/sponsors.mdx +3 -4
  31. package/src/docs/typescript/unused-exports.md +1 -1
  32. package/src/docs/writing-a-plugin/index.md +17 -4
  33. package/src/tools.js +3 -9
  34. package/src/docs/docs/blog/brief-history.md +0 -30
  35. package/src/docs/docs/blog/for-editors-and-agents.md +0 -131
  36. package/src/docs/docs/blog/knip-v3.mdx +0 -88
  37. package/src/docs/docs/blog/knip-v4.mdx +0 -149
  38. package/src/docs/docs/blog/knip-v5.mdx +0 -190
  39. package/src/docs/docs/blog/migration-to-v1.md +0 -65
  40. package/src/docs/docs/blog/release-notes-v2.md +0 -46
  41. package/src/docs/docs/blog/slim-down-to-speed-up.md +0 -269
  42. package/src/docs/docs/blog/state-of-knip.md +0 -191
  43. package/src/docs/docs/blog/two-years.mdx +0 -107
  44. package/src/docs/docs/explanations/comparison-and-migration.md +0 -129
  45. package/src/docs/docs/explanations/entry-files.md +0 -70
  46. package/src/docs/docs/explanations/plugins.md +0 -329
  47. package/src/docs/docs/explanations/why-use-knip.md +0 -128
  48. package/src/docs/docs/features/auto-fix.mdx +0 -348
  49. package/src/docs/docs/features/compilers.md +0 -172
  50. package/src/docs/docs/features/integrated-monorepos.md +0 -61
  51. package/src/docs/docs/features/monorepos-and-workspaces.md +0 -149
  52. package/src/docs/docs/features/production-mode.md +0 -95
  53. package/src/docs/docs/features/reporters.md +0 -304
  54. package/src/docs/docs/features/rules-and-filters.md +0 -102
  55. package/src/docs/docs/features/script-parser.md +0 -156
  56. package/src/docs/docs/features/source-mapping.md +0 -100
  57. package/src/docs/docs/guides/configuring-project-files.md +0 -205
  58. package/src/docs/docs/guides/contributing.md +0 -24
  59. package/src/docs/docs/guides/handling-issues.mdx +0 -708
  60. package/src/docs/docs/guides/issue-reproduction.md +0 -102
  61. package/src/docs/docs/guides/namespace-imports.md +0 -125
  62. package/src/docs/docs/guides/performance.md +0 -108
  63. package/src/docs/docs/guides/troubleshooting.md +0 -133
  64. package/src/docs/docs/guides/using-knip-in-ci.md +0 -50
  65. package/src/docs/docs/guides/working-with-commonjs.md +0 -72
  66. package/src/docs/docs/index.mdx +0 -160
  67. package/src/docs/docs/overview/configuration.md +0 -104
  68. package/src/docs/docs/overview/features.md +0 -66
  69. package/src/docs/docs/overview/getting-started.mdx +0 -205
  70. package/src/docs/docs/overview/screenshots-videos.md +0 -42
  71. package/src/docs/docs/playground.mdx +0 -38
  72. package/src/docs/docs/reference/cli.md +0 -511
  73. package/src/docs/docs/reference/configuration.md +0 -430
  74. package/src/docs/docs/reference/dynamic-configuration.mdx +0 -72
  75. package/src/docs/docs/reference/faq.md +0 -432
  76. package/src/docs/docs/reference/issue-types.md +0 -43
  77. package/src/docs/docs/reference/jsdoc-tsdoc-tags.md +0 -122
  78. package/src/docs/docs/reference/known-issues.md +0 -86
  79. package/src/docs/docs/reference/plugins/.gitkeep +0 -0
  80. package/src/docs/docs/reference/plugins/angular.md +0 -33
  81. package/src/docs/docs/reference/plugins/astro-db.md +0 -34
  82. package/src/docs/docs/reference/plugins/astro-og-canvas.md +0 -13
  83. package/src/docs/docs/reference/plugins/astro.md +0 -43
  84. package/src/docs/docs/reference/plugins/ava.md +0 -46
  85. package/src/docs/docs/reference/plugins/babel.md +0 -38
  86. package/src/docs/docs/reference/plugins/biome.md +0 -34
  87. package/src/docs/docs/reference/plugins/bumpp.md +0 -38
  88. package/src/docs/docs/reference/plugins/bun.md +0 -13
  89. package/src/docs/docs/reference/plugins/c8.md +0 -26
  90. package/src/docs/docs/reference/plugins/capacitor.md +0 -35
  91. package/src/docs/docs/reference/plugins/changelogen.md +0 -38
  92. package/src/docs/docs/reference/plugins/changelogithub.md +0 -38
  93. package/src/docs/docs/reference/plugins/changesets.md +0 -33
  94. package/src/docs/docs/reference/plugins/commitizen.md +0 -35
  95. package/src/docs/docs/reference/plugins/commitlint.md +0 -39
  96. package/src/docs/docs/reference/plugins/convex.md +0 -34
  97. package/src/docs/docs/reference/plugins/create-typescript-app.md +0 -33
  98. package/src/docs/docs/reference/plugins/cspell.md +0 -36
  99. package/src/docs/docs/reference/plugins/cucumber.md +0 -36
  100. package/src/docs/docs/reference/plugins/cypress.md +0 -40
  101. package/src/docs/docs/reference/plugins/danger.md +0 -33
  102. package/src/docs/docs/reference/plugins/dependency-cruiser.md +0 -44
  103. package/src/docs/docs/reference/plugins/docusaurus.md +0 -39
  104. package/src/docs/docs/reference/plugins/dotenv.md +0 -24
  105. package/src/docs/docs/reference/plugins/drizzle.md +0 -33
  106. package/src/docs/docs/reference/plugins/eleventy.md +0 -38
  107. package/src/docs/docs/reference/plugins/eslint.md +0 -74
  108. package/src/docs/docs/reference/plugins/expo.md +0 -38
  109. package/src/docs/docs/reference/plugins/expressive-code.md +0 -39
  110. package/src/docs/docs/reference/plugins/gatsby.md +0 -46
  111. package/src/docs/docs/reference/plugins/github-action.md +0 -33
  112. package/src/docs/docs/reference/plugins/github-actions.md +0 -34
  113. package/src/docs/docs/reference/plugins/glob.md +0 -26
  114. package/src/docs/docs/reference/plugins/graphql-codegen.md +0 -43
  115. package/src/docs/docs/reference/plugins/hardhat.md +0 -33
  116. package/src/docs/docs/reference/plugins/husky.md +0 -37
  117. package/src/docs/docs/reference/plugins/i18next-parser.md +0 -44
  118. package/src/docs/docs/reference/plugins/jest.md +0 -50
  119. package/src/docs/docs/reference/plugins/karma.md +0 -36
  120. package/src/docs/docs/reference/plugins/knex.md +0 -33
  121. package/src/docs/docs/reference/plugins/ladle.md +0 -40
  122. package/src/docs/docs/reference/plugins/lefthook.md +0 -43
  123. package/src/docs/docs/reference/plugins/lint-staged.md +0 -45
  124. package/src/docs/docs/reference/plugins/linthtml.md +0 -38
  125. package/src/docs/docs/reference/plugins/lockfile-lint.md +0 -38
  126. package/src/docs/docs/reference/plugins/lost-pixel.md +0 -33
  127. package/src/docs/docs/reference/plugins/markdownlint.md +0 -34
  128. package/src/docs/docs/reference/plugins/mdx.md +0 -37
  129. package/src/docs/docs/reference/plugins/mdxlint.md +0 -35
  130. package/src/docs/docs/reference/plugins/metro.md +0 -46
  131. package/src/docs/docs/reference/plugins/mocha.md +0 -48
  132. package/src/docs/docs/reference/plugins/moonrepo.md +0 -35
  133. package/src/docs/docs/reference/plugins/msw.md +0 -36
  134. package/src/docs/docs/reference/plugins/nano-staged.md +0 -36
  135. package/src/docs/docs/reference/plugins/nest.md +0 -38
  136. package/src/docs/docs/reference/plugins/netlify.md +0 -42
  137. package/src/docs/docs/reference/plugins/next-intl.md +0 -33
  138. package/src/docs/docs/reference/plugins/next-mdx.md +0 -36
  139. package/src/docs/docs/reference/plugins/next.md +0 -53
  140. package/src/docs/docs/reference/plugins/nitro.md +0 -50
  141. package/src/docs/docs/reference/plugins/node-modules-inspector.md +0 -45
  142. package/src/docs/docs/reference/plugins/node.md +0 -48
  143. package/src/docs/docs/reference/plugins/nodemon.md +0 -27
  144. package/src/docs/docs/reference/plugins/npm-package-json-lint.md +0 -38
  145. package/src/docs/docs/reference/plugins/nuxt.md +0 -49
  146. package/src/docs/docs/reference/plugins/nx.md +0 -57
  147. package/src/docs/docs/reference/plugins/nyc.md +0 -36
  148. package/src/docs/docs/reference/plugins/oclif.md +0 -33
  149. package/src/docs/docs/reference/plugins/oxlint.md +0 -44
  150. package/src/docs/docs/reference/plugins/parcel.md +0 -37
  151. package/src/docs/docs/reference/plugins/playwright-ct.md +0 -39
  152. package/src/docs/docs/reference/plugins/playwright-test.md +0 -26
  153. package/src/docs/docs/reference/plugins/playwright.md +0 -49
  154. package/src/docs/docs/reference/plugins/plop.md +0 -33
  155. package/src/docs/docs/reference/plugins/pnpm.md +0 -33
  156. package/src/docs/docs/reference/plugins/postcss.md +0 -43
  157. package/src/docs/docs/reference/plugins/preconstruct.md +0 -33
  158. package/src/docs/docs/reference/plugins/prettier.md +0 -36
  159. package/src/docs/docs/reference/plugins/prisma.md +0 -55
  160. package/src/docs/docs/reference/plugins/react-cosmos.md +0 -39
  161. package/src/docs/docs/reference/plugins/react-router.md +0 -34
  162. package/src/docs/docs/reference/plugins/relay.md +0 -52
  163. package/src/docs/docs/reference/plugins/release-it.md +0 -34
  164. package/src/docs/docs/reference/plugins/remark.md +0 -37
  165. package/src/docs/docs/reference/plugins/remix.md +0 -40
  166. package/src/docs/docs/reference/plugins/rollup.md +0 -47
  167. package/src/docs/docs/reference/plugins/rsbuild.md +0 -33
  168. package/src/docs/docs/reference/plugins/rslib.md +0 -33
  169. package/src/docs/docs/reference/plugins/rspack.md +0 -33
  170. package/src/docs/docs/reference/plugins/rstest.md +0 -33
  171. package/src/docs/docs/reference/plugins/semantic-release.md +0 -38
  172. package/src/docs/docs/reference/plugins/sentry.md +0 -35
  173. package/src/docs/docs/reference/plugins/simple-git-hooks.md +0 -35
  174. package/src/docs/docs/reference/plugins/size-limit.md +0 -35
  175. package/src/docs/docs/reference/plugins/sst.md +0 -33
  176. package/src/docs/docs/reference/plugins/starlight.md +0 -33
  177. package/src/docs/docs/reference/plugins/storybook.md +0 -44
  178. package/src/docs/docs/reference/plugins/stryker.md +0 -33
  179. package/src/docs/docs/reference/plugins/stylelint.md +0 -38
  180. package/src/docs/docs/reference/plugins/svelte.md +0 -34
  181. package/src/docs/docs/reference/plugins/sveltekit.md +0 -33
  182. package/src/docs/docs/reference/plugins/svgo.md +0 -37
  183. package/src/docs/docs/reference/plugins/svgr.md +0 -40
  184. package/src/docs/docs/reference/plugins/swc.md +0 -33
  185. package/src/docs/docs/reference/plugins/syncpack.md +0 -38
  186. package/src/docs/docs/reference/plugins/tailwind.md +0 -33
  187. package/src/docs/docs/reference/plugins/tanstack-router.md +0 -48
  188. package/src/docs/docs/reference/plugins/taskfile.md +0 -40
  189. package/src/docs/docs/reference/plugins/travis.md +0 -33
  190. package/src/docs/docs/reference/plugins/ts-node.md +0 -27
  191. package/src/docs/docs/reference/plugins/tsdown.md +0 -45
  192. package/src/docs/docs/reference/plugins/tsup.md +0 -45
  193. package/src/docs/docs/reference/plugins/tsx.md +0 -46
  194. package/src/docs/docs/reference/plugins/typedoc.md +0 -49
  195. package/src/docs/docs/reference/plugins/typescript.md +0 -50
  196. package/src/docs/docs/reference/plugins/unbuild.md +0 -33
  197. package/src/docs/docs/reference/plugins/unocss.md +0 -36
  198. package/src/docs/docs/reference/plugins/vercel-og.md +0 -38
  199. package/src/docs/docs/reference/plugins/vike.md +0 -34
  200. package/src/docs/docs/reference/plugins/vite.md +0 -48
  201. package/src/docs/docs/reference/plugins/vitepress.md +0 -34
  202. package/src/docs/docs/reference/plugins/vitest.md +0 -50
  203. package/src/docs/docs/reference/plugins/vue.md +0 -33
  204. package/src/docs/docs/reference/plugins/webdriver-io.md +0 -33
  205. package/src/docs/docs/reference/plugins/webpack.md +0 -48
  206. package/src/docs/docs/reference/plugins/wireit.md +0 -33
  207. package/src/docs/docs/reference/plugins/wrangler.md +0 -33
  208. package/src/docs/docs/reference/plugins/xo.md +0 -40
  209. package/src/docs/docs/reference/plugins/yarn.md +0 -33
  210. package/src/docs/docs/reference/plugins/yorkie.md +0 -33
  211. package/src/docs/docs/reference/plugins.md +0 -140
  212. package/src/docs/docs/reference/related-tooling.md +0 -46
  213. package/src/docs/docs/sponsors.mdx +0 -64
  214. package/src/docs/docs/typescript/unused-dependencies.md +0 -86
  215. package/src/docs/docs/typescript/unused-exports.md +0 -87
  216. package/src/docs/docs/writing-a-plugin/argument-parsing.md +0 -202
  217. package/src/docs/docs/writing-a-plugin/index.md +0 -392
  218. package/src/docs/docs/writing-a-plugin/inputs.md +0 -162
  219. package/src/docs/reference/plugins/angular.md +0 -33
  220. package/src/docs/reference/plugins/astro-db.md +0 -34
  221. package/src/docs/reference/plugins/astro.md +0 -43
  222. package/src/docs/reference/plugins/ava.md +0 -46
  223. package/src/docs/reference/plugins/babel.md +0 -38
  224. package/src/docs/reference/plugins/biome.md +0 -34
  225. package/src/docs/reference/plugins/bumpp.md +0 -38
  226. package/src/docs/reference/plugins/bun.md +0 -33
  227. package/src/docs/reference/plugins/c8.md +0 -26
  228. package/src/docs/reference/plugins/capacitor.md +0 -35
  229. package/src/docs/reference/plugins/changelogen.md +0 -38
  230. package/src/docs/reference/plugins/changelogithub.md +0 -38
  231. package/src/docs/reference/plugins/changesets.md +0 -33
  232. package/src/docs/reference/plugins/commitizen.md +0 -35
  233. package/src/docs/reference/plugins/commitlint.md +0 -39
  234. package/src/docs/reference/plugins/convex.md +0 -34
  235. package/src/docs/reference/plugins/create-typescript-app.md +0 -33
  236. package/src/docs/reference/plugins/cspell.md +0 -36
  237. package/src/docs/reference/plugins/cucumber.md +0 -36
  238. package/src/docs/reference/plugins/cypress.md +0 -40
  239. package/src/docs/reference/plugins/danger.md +0 -33
  240. package/src/docs/reference/plugins/dependency-cruiser.md +0 -44
  241. package/src/docs/reference/plugins/docusaurus.md +0 -39
  242. package/src/docs/reference/plugins/dotenv.md +0 -24
  243. package/src/docs/reference/plugins/drizzle.md +0 -33
  244. package/src/docs/reference/plugins/eleventy.md +0 -38
  245. package/src/docs/reference/plugins/eslint.md +0 -74
  246. package/src/docs/reference/plugins/expo.md +0 -38
  247. package/src/docs/reference/plugins/gatsby.md +0 -46
  248. package/src/docs/reference/plugins/github-action.md +0 -33
  249. package/src/docs/reference/plugins/github-actions.md +0 -34
  250. package/src/docs/reference/plugins/glob.md +0 -26
  251. package/src/docs/reference/plugins/graphql-codegen.md +0 -43
  252. package/src/docs/reference/plugins/hardhat.md +0 -33
  253. package/src/docs/reference/plugins/husky.md +0 -37
  254. package/src/docs/reference/plugins/i18next-parser.md +0 -44
  255. package/src/docs/reference/plugins/jest.md +0 -50
  256. package/src/docs/reference/plugins/karma.md +0 -36
  257. package/src/docs/reference/plugins/ladle.md +0 -40
  258. package/src/docs/reference/plugins/lefthook.md +0 -43
  259. package/src/docs/reference/plugins/lint-staged.md +0 -45
  260. package/src/docs/reference/plugins/linthtml.md +0 -38
  261. package/src/docs/reference/plugins/lockfile-lint.md +0 -38
  262. package/src/docs/reference/plugins/lost-pixel.md +0 -33
  263. package/src/docs/reference/plugins/markdownlint.md +0 -34
  264. package/src/docs/reference/plugins/mdx.md +0 -37
  265. package/src/docs/reference/plugins/mdxlint.md +0 -35
  266. package/src/docs/reference/plugins/metro.md +0 -46
  267. package/src/docs/reference/plugins/mocha.md +0 -48
  268. package/src/docs/reference/plugins/moonrepo.md +0 -35
  269. package/src/docs/reference/plugins/msw.md +0 -36
  270. package/src/docs/reference/plugins/nano-staged.md +0 -36
  271. package/src/docs/reference/plugins/nest.md +0 -38
  272. package/src/docs/reference/plugins/netlify.md +0 -42
  273. package/src/docs/reference/plugins/next-intl.md +0 -33
  274. package/src/docs/reference/plugins/next-mdx.md +0 -36
  275. package/src/docs/reference/plugins/next.md +0 -53
  276. package/src/docs/reference/plugins/node-modules-inspector.md +0 -45
  277. package/src/docs/reference/plugins/node.md +0 -48
  278. package/src/docs/reference/plugins/nodemon.md +0 -27
  279. package/src/docs/reference/plugins/npm-package-json-lint.md +0 -38
  280. package/src/docs/reference/plugins/nuxt.md +0 -49
  281. package/src/docs/reference/plugins/nx.md +0 -57
  282. package/src/docs/reference/plugins/nyc.md +0 -36
  283. package/src/docs/reference/plugins/oclif.md +0 -33
  284. package/src/docs/reference/plugins/oxlint.md +0 -44
  285. package/src/docs/reference/plugins/playwright-ct.md +0 -39
  286. package/src/docs/reference/plugins/playwright-test.md +0 -26
  287. package/src/docs/reference/plugins/playwright.md +0 -49
  288. package/src/docs/reference/plugins/plop.md +0 -33
  289. package/src/docs/reference/plugins/pnpm.md +0 -33
  290. package/src/docs/reference/plugins/postcss.md +0 -43
  291. package/src/docs/reference/plugins/preconstruct.md +0 -33
  292. package/src/docs/reference/plugins/prettier.md +0 -36
  293. package/src/docs/reference/plugins/prisma.md +0 -55
  294. package/src/docs/reference/plugins/react-cosmos.md +0 -39
  295. package/src/docs/reference/plugins/react-router.md +0 -34
  296. package/src/docs/reference/plugins/relay.md +0 -52
  297. package/src/docs/reference/plugins/release-it.md +0 -34
  298. package/src/docs/reference/plugins/remark.md +0 -37
  299. package/src/docs/reference/plugins/remix.md +0 -40
  300. package/src/docs/reference/plugins/rollup.md +0 -47
  301. package/src/docs/reference/plugins/rsbuild.md +0 -33
  302. package/src/docs/reference/plugins/rslib.md +0 -33
  303. package/src/docs/reference/plugins/rspack.md +0 -33
  304. package/src/docs/reference/plugins/rstest.md +0 -33
  305. package/src/docs/reference/plugins/semantic-release.md +0 -38
  306. package/src/docs/reference/plugins/sentry.md +0 -35
  307. package/src/docs/reference/plugins/simple-git-hooks.md +0 -35
  308. package/src/docs/reference/plugins/size-limit.md +0 -36
  309. package/src/docs/reference/plugins/sst.md +0 -33
  310. package/src/docs/reference/plugins/starlight.md +0 -33
  311. package/src/docs/reference/plugins/storybook.md +0 -44
  312. package/src/docs/reference/plugins/stryker.md +0 -33
  313. package/src/docs/reference/plugins/stylelint.md +0 -38
  314. package/src/docs/reference/plugins/svelte.md +0 -37
  315. package/src/docs/reference/plugins/svgo.md +0 -37
  316. package/src/docs/reference/plugins/svgr.md +0 -40
  317. package/src/docs/reference/plugins/swc.md +0 -33
  318. package/src/docs/reference/plugins/syncpack.md +0 -38
  319. package/src/docs/reference/plugins/tailwind.md +0 -33
  320. package/src/docs/reference/plugins/taskfile.md +0 -34
  321. package/src/docs/reference/plugins/travis.md +0 -33
  322. package/src/docs/reference/plugins/ts-node.md +0 -27
  323. package/src/docs/reference/plugins/tsdown.md +0 -45
  324. package/src/docs/reference/plugins/tsup.md +0 -45
  325. package/src/docs/reference/plugins/tsx.md +0 -46
  326. package/src/docs/reference/plugins/typedoc.md +0 -49
  327. package/src/docs/reference/plugins/typescript.md +0 -50
  328. package/src/docs/reference/plugins/unbuild.md +0 -33
  329. package/src/docs/reference/plugins/unocss.md +0 -36
  330. package/src/docs/reference/plugins/vercel-og.md +0 -38
  331. package/src/docs/reference/plugins/vike.md +0 -34
  332. package/src/docs/reference/plugins/vite.md +0 -48
  333. package/src/docs/reference/plugins/vitest.md +0 -50
  334. package/src/docs/reference/plugins/vue.md +0 -33
  335. package/src/docs/reference/plugins/webdriver-io.md +0 -33
  336. package/src/docs/reference/plugins/webpack.md +0 -48
  337. package/src/docs/reference/plugins/wireit.md +0 -33
  338. package/src/docs/reference/plugins/wrangler.md +0 -33
  339. package/src/docs/reference/plugins/xo.md +0 -40
  340. package/src/docs/reference/plugins/yarn.md +0 -33
  341. package/src/docs/reference/plugins/yorkie.md +0 -33
  342. /package/src/docs/{docs/reference → reference}/configuration-hints.md +0 -0
  343. /package/src/docs/{docs/reference → reference}/integrations.md +0 -0
@@ -1,37 +0,0 @@
1
- ---
2
- title: husky
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"husky"` 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
- "husky": {
18
- "config": [
19
- ".husky/prepare-commit-msg",
20
- ".husky/commit-msg",
21
- ".husky/pre-{applypatch,commit,merge-commit,push,rebase,receive}",
22
- ".husky/post-{checkout,commit,merge,rewrite}",
23
- "package.json"
24
- ]
25
- }
26
- }
27
- ```
28
-
29
- Depending on local configuration, plugins may modify the defaults as shown.
30
-
31
- Custom `config` or `entry` options override default values, they are not merged.
32
-
33
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
34
-
35
- ## Generated from source
36
-
37
- This page was generated from the [husky plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/husky/index.ts).
@@ -1,44 +0,0 @@
1
- ---
2
- title: i18next Parser
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"i18next-parser"` 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
- "i18next-parser": {
18
- "config": [
19
- "i18next-parser.config.{js,mjs,json,ts,yaml,yml}"
20
- ]
21
- }
22
- }
23
- ```
24
-
25
- Depending on local configuration, plugins may modify the defaults as shown.
26
-
27
- Custom `config` or `entry` options override default values, they are not merged.
28
-
29
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
30
-
31
- ## Shell commands
32
-
33
- This plugin adds argument parsing for the <code>i18next</code>
34
- binary. Configuration:
35
-
36
- ```
37
- config: true
38
- ```
39
-
40
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).
41
-
42
- ## Generated from source
43
-
44
- This page was generated from the [i18next-parser plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/i18next-parser/index.ts).
@@ -1,50 +0,0 @@
1
- ---
2
- title: Jest
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"jest"` 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
- "jest": {
18
- "config": [
19
- "jest.config.{js,ts,mjs,cjs,json}",
20
- "package.json"
21
- ],
22
- "entry": [
23
- "**/__tests__/**/*.[jt]s?(x)",
24
- "**/?(*.)+(spec|test).[jt]s?(x)",
25
- "**/__mocks__/**/*.[jt]s?(x)"
26
- ]
27
- }
28
- }
29
- ```
30
-
31
- Depending on local configuration, plugins may modify the defaults as shown.
32
-
33
- Custom `config` or `entry` options override default values, they are not merged.
34
-
35
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
36
-
37
- ## Shell commands
38
-
39
- This plugin adds argument parsing for the <code>jest</code>
40
- binary. Configuration:
41
-
42
- ```
43
- config: true
44
- ```
45
-
46
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).
47
-
48
- ## Generated from source
49
-
50
- This page was generated from the [jest plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/jest/index.ts).
@@ -1,36 +0,0 @@
1
- ---
2
- title: Karma
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"karma"` 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
- "karma": {
18
- "config": [
19
- "karma.conf.js",
20
- "karma.conf.ts",
21
- ".config/karma.conf.js",
22
- ".config/karma.conf.ts"
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 [karma plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/karma/index.ts).
@@ -1,33 +0,0 @@
1
- ---
2
- title: Knex
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"knex"` 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
- "knex": {
18
- "config": [
19
- "knexfile.{js,cjs,mjs,ts,cts,mts}"
20
- ]
21
- }
22
- }
23
- ```
24
-
25
- Depending on local configuration, plugins may modify the defaults as shown.
26
-
27
- Custom `config` or `entry` options override default values, they are not merged.
28
-
29
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
30
-
31
- ## Generated from source
32
-
33
- This page was generated from the [knex plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/knex/index.ts).
@@ -1,40 +0,0 @@
1
- ---
2
- title: Ladle
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"@ladle/react"` 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
- "ladle": {
18
- "config": [
19
- ".ladle/config.{mjs,js,ts}"
20
- ],
21
- "entry": [
22
- ".ladle/components.{js,jsx,ts,tsx}",
23
- "src/**/*.stories.{js,jsx,ts,tsx,mdx}"
24
- ],
25
- "project": [
26
- ".ladle/**/*.{js,jsx,ts,tsx}"
27
- ]
28
- }
29
- }
30
- ```
31
-
32
- Depending on local configuration, plugins may modify the defaults as shown.
33
-
34
- Custom `config` or `entry` options override default values, they are not merged.
35
-
36
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
37
-
38
- ## Generated from source
39
-
40
- This page was generated from the [ladle plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/ladle/index.ts).
@@ -1,43 +0,0 @@
1
- ---
2
- title: Lefthook
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if there's a match in `"dependencies"` or `"devDependencies"` in `package.json`:
10
-
11
- - `lefthook`
12
-
13
- - `@arkweid/lefthook`
14
-
15
- - `@evilmartians/lefthook`
16
-
17
- ## Default configuration
18
-
19
- If this plugin is enabled, the following configuration is added automatically:
20
-
21
- ```json
22
- {
23
- "lefthook": {
24
- "config": [
25
- "lefthook.yml",
26
- "../../../../../.git/hooks/prepare-commit-msg",
27
- "../../../../../.git/hooks/commit-msg",
28
- "../../../../../.git/hooks/pre-{applypatch,commit,merge-commit,push,rebase,receive}",
29
- "../../../../../.git/hooks/post-{checkout,commit,merge,rewrite}"
30
- ]
31
- }
32
- }
33
- ```
34
-
35
- Depending on local configuration, plugins may modify the defaults as shown.
36
-
37
- Custom `config` or `entry` options override default values, they are not merged.
38
-
39
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
40
-
41
- ## Generated from source
42
-
43
- This page was generated from the [lefthook plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/lefthook/index.ts).
@@ -1,45 +0,0 @@
1
- ---
2
- title: lint-staged
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"lint-staged"` 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
- "lint-staged": {
18
- "config": [
19
- "package.json",
20
- "package.yaml",
21
- "package.yml",
22
- ".lint-stagedrc",
23
- ".config/lint-stagedrc",
24
- ".lint-stagedrc.{json,ts,js,cjs,mjs}",
25
- "lint-staged.config.{ts,js,cjs,mjs}",
26
- ".config/lint-stagedrc.{json,ts,js,cjs,mjs}",
27
- ".lintstagedrc",
28
- ".config/lintstagedrc",
29
- ".lintstagedrc.{json,ts,js,cjs,mjs}",
30
- "lintstaged.config.{ts,js,cjs,mjs}",
31
- ".config/lintstagedrc.{json,ts,js,cjs,mjs}"
32
- ]
33
- }
34
- }
35
- ```
36
-
37
- Depending on local configuration, plugins may modify the defaults as shown.
38
-
39
- Custom `config` or `entry` options override default values, they are not merged.
40
-
41
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
42
-
43
- ## Generated from source
44
-
45
- This page was generated from the [lint-staged plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/lint-staged/index.ts).
@@ -1,38 +0,0 @@
1
- ---
2
- title: LintHTML
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"@linthtml/linthtml"` 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
- "linthtml": {
18
- "config": [
19
- "package.json",
20
- ".linthtmlrc",
21
- ".config/linthtmlrc",
22
- ".linthtmlrc.{json,yaml,yml,js,ts,cjs,mjs}",
23
- "linthtml.config.{js,ts,cjs,mjs}",
24
- ".config/linthtmlrc.{json,yaml,yml,js,ts,cjs,mjs}"
25
- ]
26
- }
27
- }
28
- ```
29
-
30
- Depending on local configuration, plugins may modify the defaults as shown.
31
-
32
- Custom `config` or `entry` options override default values, they are not merged.
33
-
34
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
35
-
36
- ## Generated from source
37
-
38
- This page was generated from the [linthtml plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/linthtml/index.ts).
@@ -1,38 +0,0 @@
1
- ---
2
- title: lockfile-lint
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"lockfile-lint"` 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
- "lockfile-lint": {
18
- "config": [
19
- "package.json",
20
- ".lockfile-lintrc",
21
- ".config/lockfile-lintrc",
22
- ".lockfile-lintrc.{json,yaml,yml,js,ts,cjs,mjs,toml}",
23
- "lockfile-lint.config.{js,ts,cjs,mjs}",
24
- ".config/lockfile-lintrc.{json,yaml,yml,js,ts,cjs,mjs,toml}"
25
- ]
26
- }
27
- }
28
- ```
29
-
30
- Depending on local configuration, plugins may modify the defaults as shown.
31
-
32
- Custom `config` or `entry` options override default values, they are not merged.
33
-
34
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
35
-
36
- ## Generated from source
37
-
38
- This page was generated from the [lockfile-lint plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/lockfile-lint/index.ts).
@@ -1,33 +0,0 @@
1
- ---
2
- title: Lost Pixel
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"lost-pixel"` 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
- "lost-pixel": {
18
- "config": [
19
- "lostpixel.config.{js,ts}"
20
- ]
21
- }
22
- }
23
- ```
24
-
25
- Depending on local configuration, plugins may modify the defaults as shown.
26
-
27
- Custom `config` or `entry` options override default values, they are not merged.
28
-
29
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
30
-
31
- ## Generated from source
32
-
33
- This page was generated from the [lost-pixel plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/lost-pixel/index.ts).
@@ -1,34 +0,0 @@
1
- ---
2
- title: markdownlint
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"markdownlint-cli"` 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
- "markdownlint": {
18
- "config": [
19
- ".markdownlint.{json,jsonc}",
20
- ".markdownlint.{yml,yaml}"
21
- ]
22
- }
23
- }
24
- ```
25
-
26
- Depending on local configuration, plugins may modify the defaults as shown.
27
-
28
- Custom `config` or `entry` options override default values, they are not merged.
29
-
30
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
31
-
32
- ## Generated from source
33
-
34
- This page was generated from the [markdownlint plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/markdownlint/index.ts).
@@ -1,37 +0,0 @@
1
- ---
2
- title: MDX
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if there's a match in `"dependencies"` or `"devDependencies"` in `package.json`:
10
-
11
- - `astro`
12
-
13
- - `mdxlint`
14
-
15
- ## Default configuration
16
-
17
- If this plugin is enabled, the following configuration is added automatically:
18
-
19
- ```json
20
- {
21
- "mdx": {
22
- "config": [
23
- "tsconfig.json"
24
- ]
25
- }
26
- }
27
- ```
28
-
29
- Depending on local configuration, plugins may modify the defaults as shown.
30
-
31
- Custom `config` or `entry` options override default values, they are not merged.
32
-
33
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
34
-
35
- ## Generated from source
36
-
37
- This page was generated from the [mdx plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/mdx/index.ts).
@@ -1,35 +0,0 @@
1
- ---
2
- title: mdxlint
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"mdxlint"` 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
- "mdxlint": {
18
- "config": [
19
- ".mdxlintrc",
20
- ".mdxlintrc.{json,js,cjs,mjs,yml,yaml}",
21
- "package.json"
22
- ]
23
- }
24
- }
25
- ```
26
-
27
- Depending on local configuration, plugins may modify the defaults as shown.
28
-
29
- Custom `config` or `entry` options override default values, they are not merged.
30
-
31
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
32
-
33
- ## Generated from source
34
-
35
- This page was generated from the [mdxlint plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/mdxlint/index.ts).
@@ -1,46 +0,0 @@
1
- ---
2
- title: Metro
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if there's a match in `"dependencies"` or `"devDependencies"` in `package.json`:
10
-
11
- - `metro`
12
-
13
- - `react-native`
14
-
15
- ## Default configuration
16
-
17
- If this plugin is enabled, the following configuration is added automatically:
18
-
19
- ```json
20
- {
21
- "metro": {
22
- "config": [
23
- "metro.config.{js,cjs,json}",
24
- "package.json"
25
- ],
26
- "entry": [
27
- "src/**/*.{ios,android,windows,web,native,default}.{js,jsx,json,ts,tsx}"
28
- ]
29
- }
30
- }
31
- ```
32
-
33
- Depending on local configuration, plugins may modify the defaults as shown.
34
-
35
- Custom `config` or `entry` options override default values, they are not merged.
36
-
37
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
38
-
39
- ## Note
40
-
41
- False positives for platform-specific unused files?
42
- Override the default `entry` patterns to match platforms and extensions.
43
-
44
- ## Generated from source
45
-
46
- This page was generated from the [metro plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/metro/index.ts).
@@ -1,48 +0,0 @@
1
- ---
2
- title: Mocha
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"mocha"` 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
- "mocha": {
18
- "config": [
19
- ".mocharc.{js,cjs,json,jsonc,yml,yaml}",
20
- "package.json"
21
- ],
22
- "entry": [
23
- "**/test/*.{js,cjs,mjs}"
24
- ]
25
- }
26
- }
27
- ```
28
-
29
- Depending on local configuration, plugins may modify the defaults as shown.
30
-
31
- Custom `config` or `entry` options override default values, they are not merged.
32
-
33
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
34
-
35
- ## Shell commands
36
-
37
- This plugin adds argument parsing for the <code>mocha</code>
38
- binary. Configuration:
39
-
40
- ```
41
- nodeImportArgs: true
42
- ```
43
-
44
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).
45
-
46
- ## Generated from source
47
-
48
- This page was generated from the [mocha plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/mocha/index.ts).
@@ -1,35 +0,0 @@
1
- ---
2
- title: moonrepo
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"@moonrepo/cli"` 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
- "moonrepo": {
18
- "config": [
19
- "moon.yml",
20
- ".moon/tasks.yml",
21
- ".moon/tasks/*.yml"
22
- ]
23
- }
24
- }
25
- ```
26
-
27
- Depending on local configuration, plugins may modify the defaults as shown.
28
-
29
- Custom `config` or `entry` options override default values, they are not merged.
30
-
31
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
32
-
33
- ## Generated from source
34
-
35
- This page was generated from the [moonrepo plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/moonrepo/index.ts).