@knip/mcp 0.0.13 → 0.0.14

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 (134) hide show
  1. package/package.json +2 -2
  2. package/src/docs/docs/blog/for-editors-and-agents.md +44 -44
  3. package/src/docs/docs/blog/knip-v4.mdx +2 -2
  4. package/src/docs/docs/blog/two-years.mdx +1 -1
  5. package/src/docs/docs/explanations/plugins.md +10 -7
  6. package/src/docs/docs/guides/configuring-project-files.md +2 -2
  7. package/src/docs/docs/guides/contributing.md +1 -1
  8. package/src/docs/docs/guides/handling-issues.mdx +43 -44
  9. package/src/docs/docs/guides/issue-reproduction.md +4 -0
  10. package/src/docs/docs/index.mdx +3 -3
  11. package/src/docs/docs/reference/plugins/angular.md +10 -6
  12. package/src/docs/docs/reference/plugins/astro-db.md +10 -7
  13. package/src/docs/docs/reference/plugins/astro.md +10 -6
  14. package/src/docs/docs/reference/plugins/ava.md +10 -7
  15. package/src/docs/docs/reference/plugins/babel.md +9 -3
  16. package/src/docs/docs/reference/plugins/biome.md +10 -7
  17. package/src/docs/docs/reference/plugins/bumpp.md +9 -3
  18. package/src/docs/docs/reference/plugins/bun.md +6 -2
  19. package/src/docs/docs/reference/plugins/c8.md +7 -4
  20. package/src/docs/docs/reference/plugins/capacitor.md +10 -6
  21. package/src/docs/docs/reference/plugins/changelogen.md +9 -3
  22. package/src/docs/docs/reference/plugins/changelogithub.md +9 -3
  23. package/src/docs/docs/reference/plugins/changesets.md +10 -6
  24. package/src/docs/docs/reference/plugins/commitizen.md +10 -8
  25. package/src/docs/docs/reference/plugins/commitlint.md +9 -3
  26. package/src/docs/docs/reference/plugins/convex.md +10 -7
  27. package/src/docs/docs/reference/plugins/create-typescript-app.md +10 -6
  28. package/src/docs/docs/reference/plugins/cspell.md +9 -3
  29. package/src/docs/docs/reference/plugins/cucumber.md +11 -9
  30. package/src/docs/docs/reference/plugins/cypress.md +10 -6
  31. package/src/docs/docs/reference/plugins/danger.md +10 -6
  32. package/src/docs/docs/reference/plugins/dependency-cruiser.md +14 -9
  33. package/src/docs/docs/reference/plugins/docusaurus.md +10 -6
  34. package/src/docs/docs/reference/plugins/dotenv.md +8 -4
  35. package/src/docs/docs/reference/plugins/drizzle.md +10 -6
  36. package/src/docs/docs/reference/plugins/eleventy.md +11 -11
  37. package/src/docs/docs/reference/plugins/eslint.md +22 -10
  38. package/src/docs/docs/reference/plugins/expo.md +11 -11
  39. package/src/docs/docs/reference/plugins/gatsby.md +9 -3
  40. package/src/docs/docs/reference/plugins/github-action.md +10 -6
  41. package/src/docs/docs/reference/plugins/github-actions.md +10 -7
  42. package/src/docs/docs/reference/plugins/glob.md +8 -4
  43. package/src/docs/docs/reference/plugins/graphql-codegen.md +9 -3
  44. package/src/docs/docs/reference/plugins/hardhat.md +10 -6
  45. package/src/docs/docs/reference/plugins/husky.md +9 -3
  46. package/src/docs/docs/reference/plugins/i18next-parser.md +14 -9
  47. package/src/docs/docs/reference/plugins/jest.md +14 -10
  48. package/src/docs/docs/reference/plugins/karma.md +9 -3
  49. package/src/docs/docs/reference/plugins/ladle.md +11 -9
  50. package/src/docs/docs/reference/plugins/lefthook.md +9 -3
  51. package/src/docs/docs/reference/plugins/lint-staged.md +9 -3
  52. package/src/docs/docs/reference/plugins/linthtml.md +9 -3
  53. package/src/docs/docs/reference/plugins/lockfile-lint.md +9 -3
  54. package/src/docs/docs/reference/plugins/lost-pixel.md +10 -6
  55. package/src/docs/docs/reference/plugins/markdownlint.md +10 -7
  56. package/src/docs/docs/reference/plugins/mdx.md +10 -6
  57. package/src/docs/docs/reference/plugins/mdxlint.md +9 -3
  58. package/src/docs/docs/reference/plugins/metro.md +12 -9
  59. package/src/docs/docs/reference/plugins/mocha.md +15 -13
  60. package/src/docs/docs/reference/plugins/moonrepo.md +10 -8
  61. package/src/docs/docs/reference/plugins/msw.md +11 -9
  62. package/src/docs/docs/reference/plugins/nano-staged.md +9 -3
  63. package/src/docs/docs/reference/plugins/nest.md +10 -9
  64. package/src/docs/docs/reference/plugins/netlify.md +11 -9
  65. package/src/docs/docs/reference/plugins/next-intl.md +10 -6
  66. package/src/docs/docs/reference/plugins/next-mdx.md +11 -9
  67. package/src/docs/docs/reference/plugins/next.md +10 -6
  68. package/src/docs/docs/reference/plugins/node-modules-inspector.md +11 -4
  69. package/src/docs/docs/reference/plugins/node.md +12 -8
  70. package/src/docs/docs/reference/plugins/nodemon.md +8 -4
  71. package/src/docs/docs/reference/plugins/npm-package-json-lint.md +9 -3
  72. package/src/docs/docs/reference/plugins/nuxt.md +14 -8
  73. package/src/docs/docs/reference/plugins/nx.md +15 -7
  74. package/src/docs/docs/reference/plugins/nyc.md +9 -3
  75. package/src/docs/docs/reference/plugins/oclif.md +10 -6
  76. package/src/docs/docs/reference/plugins/oxlint.md +14 -9
  77. package/src/docs/docs/reference/plugins/playwright-ct.md +10 -6
  78. package/src/docs/docs/reference/plugins/playwright-test.md +10 -5
  79. package/src/docs/docs/reference/plugins/playwright.md +15 -12
  80. package/src/docs/docs/reference/plugins/plop.md +10 -6
  81. package/src/docs/docs/reference/plugins/pnpm.md +8 -5
  82. package/src/docs/docs/reference/plugins/postcss.md +9 -3
  83. package/src/docs/docs/reference/plugins/preconstruct.md +10 -6
  84. package/src/docs/docs/reference/plugins/prettier.md +9 -3
  85. package/src/docs/docs/reference/plugins/prisma.md +14 -10
  86. package/src/docs/docs/reference/plugins/react-cosmos.md +10 -6
  87. package/src/docs/docs/reference/plugins/react-router.md +9 -3
  88. package/src/docs/docs/reference/plugins/relay.md +14 -10
  89. package/src/docs/docs/reference/plugins/release-it.md +10 -7
  90. package/src/docs/docs/reference/plugins/remark.md +9 -3
  91. package/src/docs/docs/reference/plugins/remix.md +9 -3
  92. package/src/docs/docs/reference/plugins/rollup.md +14 -9
  93. package/src/docs/docs/reference/plugins/rsbuild.md +10 -6
  94. package/src/docs/docs/reference/plugins/rslib.md +10 -6
  95. package/src/docs/docs/reference/plugins/rspack.md +10 -6
  96. package/src/docs/docs/reference/plugins/rstest.md +10 -6
  97. package/src/docs/docs/reference/plugins/semantic-release.md +9 -3
  98. package/src/docs/docs/reference/plugins/sentry.md +10 -6
  99. package/src/docs/docs/reference/plugins/simple-git-hooks.md +9 -3
  100. package/src/docs/docs/reference/plugins/size-limit.md +9 -3
  101. package/src/docs/docs/reference/plugins/sst.md +10 -6
  102. package/src/docs/docs/reference/plugins/starlight.md +10 -6
  103. package/src/docs/docs/reference/plugins/storybook.md +11 -9
  104. package/src/docs/docs/reference/plugins/stryker.md +10 -6
  105. package/src/docs/docs/reference/plugins/stylelint.md +9 -3
  106. package/src/docs/docs/reference/plugins/svelte.md +9 -3
  107. package/src/docs/docs/reference/plugins/svgo.md +10 -6
  108. package/src/docs/docs/reference/plugins/svgr.md +9 -3
  109. package/src/docs/docs/reference/plugins/swc.md +10 -6
  110. package/src/docs/docs/reference/plugins/syncpack.md +9 -3
  111. package/src/docs/docs/reference/plugins/tailwind.md +10 -6
  112. package/src/docs/docs/reference/plugins/taskfile.md +10 -7
  113. package/src/docs/docs/reference/plugins/travis.md +8 -5
  114. package/src/docs/docs/reference/plugins/ts-node.md +8 -4
  115. package/src/docs/docs/reference/plugins/tsdown.md +14 -10
  116. package/src/docs/docs/reference/plugins/tsup.md +14 -10
  117. package/src/docs/docs/reference/plugins/tsx.md +12 -8
  118. package/src/docs/docs/reference/plugins/typedoc.md +13 -6
  119. package/src/docs/docs/reference/plugins/typescript.md +16 -10
  120. package/src/docs/docs/reference/plugins/unbuild.md +10 -6
  121. package/src/docs/docs/reference/plugins/unocss.md +9 -3
  122. package/src/docs/docs/reference/plugins/vercel-og.md +9 -3
  123. package/src/docs/docs/reference/plugins/vike.md +9 -3
  124. package/src/docs/docs/reference/plugins/vite.md +14 -9
  125. package/src/docs/docs/reference/plugins/vitepress.md +9 -3
  126. package/src/docs/docs/reference/plugins/vitest.md +13 -6
  127. package/src/docs/docs/reference/plugins/vue.md +10 -6
  128. package/src/docs/docs/reference/plugins/webdriver-io.md +10 -6
  129. package/src/docs/docs/reference/plugins/webpack.md +14 -9
  130. package/src/docs/docs/reference/plugins/wireit.md +10 -6
  131. package/src/docs/docs/reference/plugins/wrangler.md +10 -6
  132. package/src/docs/docs/reference/plugins/xo.md +10 -7
  133. package/src/docs/docs/reference/plugins/yarn.md +8 -5
  134. package/src/docs/docs/reference/plugins/yorkie.md +10 -6
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"@docusaurus/core"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"@docusaurus/core"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,9 +16,7 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "docusaurus": {
18
- "config": [
19
- "docusaurus.config.{js,mjs,ts}"
20
- ],
19
+ "config": ["docusaurus.config.{js,mjs,ts}"],
21
20
  "entry": [
22
21
  "babel.config.{js,cjs,mjs,cts}",
23
22
  "src/pages/**/*.{js,ts,jsx,tsx}",
@@ -32,8 +31,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
32
31
 
33
32
  Custom `config` or `entry` options override default values, they are not merged.
34
33
 
35
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
34
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
35
+ options.
36
36
 
37
37
  ## Generated from source
38
38
 
39
- This page was generated from the [docusaurus plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/docusaurus/index.ts).
39
+ This page was generated from the [docusaurus plugin source code][2].
40
+
41
+ [1]: ../../explanations/plugins
42
+ [2]:
43
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/docusaurus/index.ts
@@ -10,15 +10,19 @@ This plugin is always enabled.
10
10
 
11
11
  ## Shell commands
12
12
 
13
- This plugin adds argument parsing for the <code>dotenv</code>
14
- binary. Configuration:
13
+ This plugin adds argument parsing for the <code>dotenv</code> binary.
14
+ Configuration:
15
15
 
16
16
  ```
17
17
  fromArgs: (parsed,args2)=>argsFrom(args2,parsed._[0])
18
18
  ```
19
19
 
20
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser).
20
+ The configuration was generated from source code. Also see [Script Parser][1].
21
21
 
22
22
  ## Generated from source
23
23
 
24
- This page was generated from the [dotenv plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/dotenv/index.ts).
24
+ This page was generated from the [dotenv plugin source code][2].
25
+
26
+ [1]: ../../features/script-parser
27
+ [2]:
28
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/dotenv/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"drizzle-kit"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"drizzle-kit"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,9 +16,7 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "drizzle": {
18
- "config": [
19
- "drizzle.config.{ts,js,json}"
20
- ]
19
+ "config": ["drizzle.config.{ts,js,json}"]
21
20
  }
22
21
  }
23
22
  ```
@@ -26,8 +25,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
26
25
 
27
26
  Custom `config` or `entry` options override default values, they are not merged.
28
27
 
29
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
28
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
29
+ options.
30
30
 
31
31
  ## Generated from source
32
32
 
33
- This page was generated from the [drizzle plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/drizzle/index.ts).
33
+ This page was generated from the [drizzle plugin source code][2].
34
+
35
+ [1]: ../../explanations/plugins
36
+ [2]:
37
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/drizzle/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"@11ty/eleventy"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"@11ty/eleventy"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,14 +16,8 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "eleventy": {
18
- "config": [
19
- ".eleventy.js",
20
- "eleventy.config.{js,cjs,mjs}"
21
- ],
22
- "entry": [
23
- "posts/**/*.11tydata.js",
24
- "_data/**/*.{js,cjs,mjs}"
25
- ]
19
+ "config": [".eleventy.js", "eleventy.config.{js,cjs,mjs}"],
20
+ "entry": ["posts/**/*.11tydata.js", "_data/**/*.{js,cjs,mjs}"]
26
21
  }
27
22
  }
28
23
  ```
@@ -31,8 +26,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
31
26
 
32
27
  Custom `config` or `entry` options override default values, they are not merged.
33
28
 
34
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
29
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
30
+ options.
35
31
 
36
32
  ## Generated from source
37
33
 
38
- This page was generated from the [eleventy plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/eleventy/index.ts).
34
+ This page was generated from the [eleventy plugin source code][2].
35
+
36
+ [1]: ../../explanations/plugins
37
+ [2]:
38
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/eleventy/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if there's a match in `"dependencies"` or `"devDependencies"` in `package.json`:
9
+ This plugin is enabled if there's a match in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`:
10
11
 
11
12
  - `eslint`
12
13
 
@@ -34,20 +35,22 @@ Depending on local configuration, plugins may modify the defaults as shown.
34
35
 
35
36
  Custom `config` or `entry` options override default values, they are not merged.
36
37
 
37
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
38
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
39
+ options.
38
40
 
39
41
  ## Note
40
42
 
41
43
  ### ESLint v9
42
44
 
43
- The ESLint plugin config resolver is disabled when using `eslint-config-next` (`next lint`).
45
+ The ESLint plugin config resolver is disabled when using `eslint-config-next`
46
+ (`next lint`).
44
47
 
45
- Root cause: [microsoft/rushstack#4965](https://github.com/microsoft/rushstack/issues/4965)/[#5049](https://github.com/microsoft/rushstack/issues/5049)
48
+ Root cause: [microsoft/rushstack#4965][2]/[#5049][3]
46
49
 
47
50
  ### ESLint v8
48
51
 
49
- If relying on [configuration cascading](https://eslint.org/docs/v8.x/use/configure/configuration-files#cascading-and-hierarchy),
50
- consider using an extended glob pattern like this:
52
+ If relying on [configuration cascading][4], consider using an extended glob
53
+ pattern like this:
51
54
 
52
55
  ```json
53
56
  {
@@ -57,8 +60,8 @@ consider using an extended glob pattern like this:
57
60
 
58
61
  ## Shell commands
59
62
 
60
- This plugin adds argument parsing for the <code>eslint</code>
61
- binary. Configuration:
63
+ This plugin adds argument parsing for the <code>eslint</code> binary.
64
+ Configuration:
62
65
 
63
66
  ```
64
67
  config: true
@@ -67,8 +70,17 @@ boolean: ["inspect-config"]
67
70
  resolveInputs: parsed=>{const inputs=[];if(parsed["inspect-config"])inputs.push(toDependency("@eslint/config-inspector",{optional:true}));if(parsed["format"])for(const input of resolveFormatters(parsed["format"]))inputs.push(input);return inputs}
68
71
  ```
69
72
 
70
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser).
73
+ The configuration was generated from source code. Also see [Script Parser][5].
71
74
 
72
75
  ## Generated from source
73
76
 
74
- This page was generated from the [eslint plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/eslint/index.ts).
77
+ This page was generated from the [eslint plugin source code][6].
78
+
79
+ [1]: ../../explanations/plugins
80
+ [2]: https://github.com/microsoft/rushstack/issues/4965
81
+ [3]: https://github.com/microsoft/rushstack/issues/5049
82
+ [4]:
83
+ https://eslint.org/docs/v8.x/use/configure/configuration-files#cascading-and-hierarchy
84
+ [5]: ../../features/script-parser
85
+ [6]:
86
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/eslint/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"expo"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"expo"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,14 +16,8 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "expo": {
18
- "config": [
19
- "app.json",
20
- "app.config.{ts,js}"
21
- ],
22
- "entry": [
23
- "app/**/*.{js,jsx,ts,tsx}",
24
- "src/app/**/*.{js,jsx,ts,tsx}"
25
- ]
19
+ "config": ["app.json", "app.config.{ts,js}"],
20
+ "entry": ["app/**/*.{js,jsx,ts,tsx}", "src/app/**/*.{js,jsx,ts,tsx}"]
26
21
  }
27
22
  }
28
23
  ```
@@ -31,8 +26,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
31
26
 
32
27
  Custom `config` or `entry` options override default values, they are not merged.
33
28
 
34
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
29
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
30
+ options.
35
31
 
36
32
  ## Generated from source
37
33
 
38
- This page was generated from the [expo plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/expo/index.ts).
34
+ This page was generated from the [expo plugin source code][2].
35
+
36
+ [1]: ../../explanations/plugins
37
+ [2]:
38
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/expo/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if there's a match in `"dependencies"` or `"devDependencies"` in `package.json`:
9
+ This plugin is enabled if there's a match in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`:
10
11
 
11
12
  - `gatsby`
12
13
 
@@ -39,8 +40,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
39
40
 
40
41
  Custom `config` or `entry` options override default values, they are not merged.
41
42
 
42
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
43
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
44
+ options.
43
45
 
44
46
  ## Generated from source
45
47
 
46
- This page was generated from the [gatsby plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/gatsby/index.ts).
48
+ This page was generated from the [gatsby plugin source code][2].
49
+
50
+ [1]: ../../explanations/plugins
51
+ [2]:
52
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/gatsby/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"@actions/core"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"@actions/core"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,9 +16,7 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "github-action": {
18
- "config": [
19
- "action.{yml,yaml}"
20
- ]
19
+ "config": ["action.{yml,yaml}"]
21
20
  }
22
21
  }
23
22
  ```
@@ -26,8 +25,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
26
25
 
27
26
  Custom `config` or `entry` options override default values, they are not merged.
28
27
 
29
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
28
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
29
+ options.
30
30
 
31
31
  ## Generated from source
32
32
 
33
- This page was generated from the [github-action plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/github-action/index.ts).
33
+ This page was generated from the [github-action plugin source code][2].
34
+
35
+ [1]: ../../explanations/plugins
36
+ [2]:
37
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/github-action/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled when a `.yml` or `.yaml` file is found in the `.github/workflows` folder.
9
+ This plugin is enabled when a `.yml` or `.yaml` file is found in the
10
+ `.github/workflows` folder.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,10 +16,7 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "github-actions": {
18
- "config": [
19
- ".github/workflows/*.{yml,yaml}",
20
- ".github/**/action.{yml,yaml}"
21
- ]
19
+ "config": [".github/workflows/*.{yml,yaml}", ".github/**/action.{yml,yaml}"]
22
20
  }
23
21
  }
24
22
  ```
@@ -27,8 +25,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
27
25
 
28
26
  Custom `config` or `entry` options override default values, they are not merged.
29
27
 
30
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
28
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
29
+ options.
31
30
 
32
31
  ## Generated from source
33
32
 
34
- This page was generated from the [github-actions plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/github-actions/index.ts).
33
+ This page was generated from the [github-actions plugin source code][2].
34
+
35
+ [1]: ../../explanations/plugins
36
+ [2]:
37
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/github-actions/index.ts
@@ -10,8 +10,8 @@ This plugin is always enabled.
10
10
 
11
11
  ## Shell commands
12
12
 
13
- This plugin adds argument parsing for the <code>glob</code>
14
- binary. Configuration:
13
+ This plugin adds argument parsing for the <code>glob</code> binary.
14
+ Configuration:
15
15
 
16
16
  ```
17
17
  positional: true
@@ -19,8 +19,12 @@ alias: {"cmd": ["c"]}
19
19
  fromArgs: ["cmd"]
20
20
  ```
21
21
 
22
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser).
22
+ The configuration was generated from source code. Also see [Script Parser][1].
23
23
 
24
24
  ## Generated from source
25
25
 
26
- This page was generated from the [glob plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/glob/index.ts).
26
+ This page was generated from the [glob plugin source code][2].
27
+
28
+ [1]: ../../features/script-parser
29
+ [2]:
30
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/glob/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if there's a match in `"dependencies"` or `"devDependencies"` in `package.json`:
9
+ This plugin is enabled if there's a match in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`:
10
11
 
11
12
  - `^@graphql-codegen\/`
12
13
 
@@ -36,8 +37,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
36
37
 
37
38
  Custom `config` or `entry` options override default values, they are not merged.
38
39
 
39
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
40
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
41
+ options.
40
42
 
41
43
  ## Generated from source
42
44
 
43
- This page was generated from the [graphql-codegen plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/graphql-codegen/index.ts).
45
+ This page was generated from the [graphql-codegen plugin source code][2].
46
+
47
+ [1]: ../../explanations/plugins
48
+ [2]:
49
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/graphql-codegen/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"hardhat"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"hardhat"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,9 +16,7 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "hardhat": {
18
- "entry": [
19
- "hardhat.config.{js,cjs,mjs,ts}"
20
- ]
19
+ "entry": ["hardhat.config.{js,cjs,mjs,ts}"]
21
20
  }
22
21
  }
23
22
  ```
@@ -26,8 +25,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
26
25
 
27
26
  Custom `config` or `entry` options override default values, they are not merged.
28
27
 
29
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
28
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
29
+ options.
30
30
 
31
31
  ## Generated from source
32
32
 
33
- This page was generated from the [hardhat plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/hardhat/index.ts).
33
+ This page was generated from the [hardhat plugin source code][2].
34
+
35
+ [1]: ../../explanations/plugins
36
+ [2]:
37
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/hardhat/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"husky"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"husky"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -30,8 +31,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
30
31
 
31
32
  Custom `config` or `entry` options override default values, they are not merged.
32
33
 
33
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
34
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
35
+ options.
34
36
 
35
37
  ## Generated from source
36
38
 
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).
39
+ This page was generated from the [husky plugin source code][2].
40
+
41
+ [1]: ../../explanations/plugins
42
+ [2]:
43
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/husky/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"i18next-parser"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"i18next-parser"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,9 +16,7 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "i18next-parser": {
18
- "config": [
19
- "i18next-parser.config.{js,mjs,json,ts,yaml,yml}"
20
- ]
19
+ "config": ["i18next-parser.config.{js,mjs,json,ts,yaml,yml}"]
21
20
  }
22
21
  }
23
22
  ```
@@ -26,19 +25,25 @@ Depending on local configuration, plugins may modify the defaults as shown.
26
25
 
27
26
  Custom `config` or `entry` options override default values, they are not merged.
28
27
 
29
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
28
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
29
+ options.
30
30
 
31
31
  ## Shell commands
32
32
 
33
- This plugin adds argument parsing for the <code>i18next</code>
34
- binary. Configuration:
33
+ This plugin adds argument parsing for the <code>i18next</code> binary.
34
+ Configuration:
35
35
 
36
36
  ```
37
37
  config: true
38
38
  ```
39
39
 
40
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser).
40
+ The configuration was generated from source code. Also see [Script Parser][2].
41
41
 
42
42
  ## Generated from source
43
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).
44
+ This page was generated from the [i18next-parser plugin source code][3].
45
+
46
+ [1]: ../../explanations/plugins
47
+ [2]: ../../features/script-parser
48
+ [3]:
49
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/i18next-parser/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"jest"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"jest"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,10 +16,7 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "jest": {
18
- "config": [
19
- "jest.config.{js,ts,mjs,cjs,json}",
20
- "package.json"
21
- ],
19
+ "config": ["jest.config.{js,ts,mjs,cjs,json}", "package.json"],
22
20
  "entry": [
23
21
  "**/__tests__/**/*.[jt]s?(x)",
24
22
  "**/?(*.)+(spec|test).[jt]s?(x)",
@@ -32,19 +30,25 @@ Depending on local configuration, plugins may modify the defaults as shown.
32
30
 
33
31
  Custom `config` or `entry` options override default values, they are not merged.
34
32
 
35
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
33
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
34
+ options.
36
35
 
37
36
  ## Shell commands
38
37
 
39
- This plugin adds argument parsing for the <code>jest</code>
40
- binary. Configuration:
38
+ This plugin adds argument parsing for the <code>jest</code> binary.
39
+ Configuration:
41
40
 
42
41
  ```
43
42
  config: true
44
43
  ```
45
44
 
46
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser).
45
+ The configuration was generated from source code. Also see [Script Parser][2].
47
46
 
48
47
  ## Generated from source
49
48
 
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).
49
+ This page was generated from the [jest plugin source code][3].
50
+
51
+ [1]: ../../explanations/plugins
52
+ [2]: ../../features/script-parser
53
+ [3]:
54
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/jest/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"karma"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"karma"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -29,8 +30,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
29
30
 
30
31
  Custom `config` or `entry` options override default values, they are not merged.
31
32
 
32
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
33
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
34
+ options.
33
35
 
34
36
  ## Generated from source
35
37
 
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).
38
+ This page was generated from the [karma plugin source code][2].
39
+
40
+ [1]: ../../explanations/plugins
41
+ [2]:
42
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/karma/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"@ladle/react"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"@ladle/react"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,16 +16,12 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "ladle": {
18
- "config": [
19
- ".ladle/config.{mjs,js,ts}"
20
- ],
19
+ "config": [".ladle/config.{mjs,js,ts}"],
21
20
  "entry": [
22
21
  ".ladle/components.{js,jsx,ts,tsx}",
23
22
  "src/**/*.stories.{js,jsx,ts,tsx,mdx}"
24
23
  ],
25
- "project": [
26
- ".ladle/**/*.{js,jsx,ts,tsx}"
27
- ]
24
+ "project": [".ladle/**/*.{js,jsx,ts,tsx}"]
28
25
  }
29
26
  }
30
27
  ```
@@ -33,8 +30,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
33
30
 
34
31
  Custom `config` or `entry` options override default values, they are not merged.
35
32
 
36
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
33
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
34
+ options.
37
35
 
38
36
  ## Generated from source
39
37
 
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).
38
+ This page was generated from the [ladle plugin source code][2].
39
+
40
+ [1]: ../../explanations/plugins
41
+ [2]:
42
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/ladle/index.ts