@knip/mcp 0.0.23 → 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.
- package/package.json +3 -3
- package/src/docs/docs/features/compilers.md +11 -0
- package/src/docs/docs/reference/faq.md +3 -3
- package/src/docs/docs/reference/plugins/angular.md +5 -6
- package/src/docs/docs/reference/plugins/astro-db.md +6 -6
- package/src/docs/docs/reference/plugins/astro-og-canvas.md +1 -3
- package/src/docs/docs/reference/plugins/astro.md +5 -6
- package/src/docs/docs/reference/plugins/ava.md +6 -6
- package/src/docs/docs/reference/plugins/babel.md +2 -5
- package/src/docs/docs/reference/plugins/biome.md +6 -6
- package/src/docs/docs/reference/plugins/bumpp.md +2 -5
- package/src/docs/docs/reference/plugins/bun.md +5 -6
- package/src/docs/docs/reference/plugins/c8.md +2 -5
- package/src/docs/docs/reference/plugins/capacitor.md +5 -6
- package/src/docs/docs/reference/plugins/changelogen.md +2 -5
- package/src/docs/docs/reference/plugins/changelogithub.md +2 -5
- package/src/docs/docs/reference/plugins/changesets.md +5 -6
- package/src/docs/docs/reference/plugins/commitizen.md +7 -6
- package/src/docs/docs/reference/plugins/commitlint.md +2 -5
- package/src/docs/docs/reference/plugins/convex.md +6 -6
- package/src/docs/docs/reference/plugins/create-typescript-app.md +5 -6
- package/src/docs/docs/reference/plugins/cspell.md +2 -5
- package/src/docs/docs/reference/plugins/cucumber.md +8 -7
- package/src/docs/docs/reference/plugins/cypress.md +5 -6
- package/src/docs/docs/reference/plugins/danger.md +5 -6
- package/src/docs/docs/reference/plugins/dependency-cruiser.md +6 -8
- package/src/docs/docs/reference/plugins/docusaurus.md +5 -6
- package/src/docs/docs/reference/plugins/dotenv.md +2 -5
- package/src/docs/docs/reference/plugins/drizzle.md +5 -6
- package/src/docs/docs/reference/plugins/eleventy.md +10 -7
- package/src/docs/docs/reference/plugins/eslint.md +5 -12
- package/src/docs/docs/reference/plugins/execa.md +1 -3
- package/src/docs/docs/reference/plugins/expo.md +10 -7
- package/src/docs/docs/reference/plugins/expressive-code.md +5 -6
- package/src/docs/docs/reference/plugins/gatsby.md +2 -5
- package/src/docs/docs/reference/plugins/github-action.md +5 -6
- package/src/docs/docs/reference/plugins/github-actions.md +6 -6
- package/src/docs/docs/reference/plugins/glob.md +2 -5
- package/src/docs/docs/reference/plugins/graphql-codegen.md +2 -5
- package/src/docs/docs/reference/plugins/hardhat.md +5 -6
- package/src/docs/docs/reference/plugins/husky.md +2 -5
- package/src/docs/docs/reference/plugins/i18next-parser.md +6 -8
- package/src/docs/docs/reference/plugins/jest.md +7 -8
- package/src/docs/docs/reference/plugins/karma.md +2 -5
- package/src/docs/docs/reference/plugins/knex.md +5 -6
- package/src/docs/docs/reference/plugins/ladle.md +8 -7
- package/src/docs/docs/reference/plugins/lefthook.md +2 -5
- package/src/docs/docs/reference/plugins/lint-staged.md +2 -5
- package/src/docs/docs/reference/plugins/linthtml.md +2 -5
- package/src/docs/docs/reference/plugins/lockfile-lint.md +2 -5
- package/src/docs/docs/reference/plugins/lost-pixel.md +5 -6
- package/src/docs/docs/reference/plugins/markdownlint.md +6 -6
- package/src/docs/docs/reference/plugins/mdx.md +5 -6
- package/src/docs/docs/reference/plugins/mdxlint.md +2 -5
- package/src/docs/docs/reference/plugins/metro.md +9 -6
- package/src/docs/docs/reference/plugins/mocha.md +10 -9
- package/src/docs/docs/reference/plugins/moonrepo.md +7 -6
- package/src/docs/docs/reference/plugins/msw.md +8 -7
- package/src/docs/docs/reference/plugins/nano-staged.md +2 -5
- package/src/docs/docs/reference/plugins/nest.md +8 -6
- package/src/docs/docs/reference/plugins/netlify.md +8 -7
- package/src/docs/docs/reference/plugins/next-intl.md +5 -6
- package/src/docs/docs/reference/plugins/next-mdx.md +8 -7
- package/src/docs/docs/reference/plugins/next.md +5 -6
- package/src/docs/docs/reference/plugins/nitro.md +6 -8
- package/src/docs/docs/reference/plugins/node-modules-inspector.md +3 -7
- package/src/docs/docs/reference/plugins/node.md +6 -8
- package/src/docs/docs/reference/plugins/nodemon.md +2 -5
- package/src/docs/docs/reference/plugins/npm-package-json-lint.md +2 -5
- package/src/docs/docs/reference/plugins/nuxt.md +5 -6
- package/src/docs/docs/reference/plugins/nx.md +4 -9
- package/src/docs/docs/reference/plugins/nyc.md +2 -5
- package/src/docs/docs/reference/plugins/oclif.md +5 -6
- package/src/docs/docs/reference/plugins/openapi-ts.md +2 -5
- package/src/docs/docs/reference/plugins/oxfmt.md +8 -8
- package/src/docs/docs/reference/plugins/oxlint.md +7 -8
- package/src/docs/docs/reference/plugins/panda-css.md +33 -0
- package/src/docs/docs/reference/plugins/parcel.md +5 -6
- package/src/docs/docs/reference/plugins/payload.md +6 -6
- package/src/docs/docs/reference/plugins/playwright-ct.md +5 -6
- package/src/docs/docs/reference/plugins/playwright-test.md +2 -5
- package/src/docs/docs/reference/plugins/playwright.md +9 -9
- package/src/docs/docs/reference/plugins/plop.md +5 -6
- package/src/docs/docs/reference/plugins/pm2.md +2 -5
- package/src/docs/docs/reference/plugins/pnpm.md +5 -6
- package/src/docs/docs/reference/plugins/postcss.md +2 -5
- package/src/docs/docs/reference/plugins/preconstruct.md +5 -6
- package/src/docs/docs/reference/plugins/prettier.md +2 -5
- package/src/docs/docs/reference/plugins/prisma.md +7 -8
- package/src/docs/docs/reference/plugins/qwik.md +5 -6
- package/src/docs/docs/reference/plugins/raycast.md +5 -6
- package/src/docs/docs/reference/plugins/react-cosmos.md +5 -6
- package/src/docs/docs/reference/plugins/react-native.md +5 -6
- package/src/docs/docs/reference/plugins/react-router.md +2 -5
- package/src/docs/docs/reference/plugins/relay.md +7 -8
- package/src/docs/docs/reference/plugins/release-it.md +6 -6
- package/src/docs/docs/reference/plugins/remark.md +2 -5
- package/src/docs/docs/reference/plugins/remix.md +2 -5
- package/src/docs/docs/reference/plugins/rolldown.md +33 -0
- package/src/docs/docs/reference/plugins/rollup.md +6 -8
- package/src/docs/docs/reference/plugins/rsbuild.md +5 -6
- package/src/docs/docs/reference/plugins/rslib.md +5 -6
- package/src/docs/docs/reference/plugins/rspack.md +5 -6
- package/src/docs/docs/reference/plugins/rstest.md +5 -6
- package/src/docs/docs/reference/plugins/sanity.md +2 -5
- package/src/docs/docs/reference/plugins/semantic-release.md +2 -5
- package/src/docs/docs/reference/plugins/sentry.md +5 -6
- package/src/docs/docs/reference/plugins/simple-git-hooks.md +2 -5
- package/src/docs/docs/reference/plugins/size-limit.md +2 -5
- package/src/docs/docs/reference/plugins/sst.md +5 -6
- package/src/docs/docs/reference/plugins/starlight.md +5 -6
- package/src/docs/docs/reference/plugins/stencil.md +36 -0
- package/src/docs/docs/reference/plugins/storybook.md +8 -7
- package/src/docs/docs/reference/plugins/stryker.md +5 -6
- package/src/docs/docs/reference/plugins/stylelint.md +2 -5
- package/src/docs/docs/reference/plugins/svelte.md +6 -6
- package/src/docs/docs/reference/plugins/sveltekit.md +5 -6
- package/src/docs/docs/reference/plugins/svgo.md +5 -6
- package/src/docs/docs/reference/plugins/svgr.md +2 -5
- package/src/docs/docs/reference/plugins/swc.md +5 -6
- package/src/docs/docs/reference/plugins/syncpack.md +2 -5
- package/src/docs/docs/reference/plugins/tailwind.md +14 -7
- package/src/docs/docs/reference/plugins/tanstack-router.md +8 -7
- package/src/docs/docs/reference/plugins/taskfile.md +2 -5
- package/src/docs/docs/reference/plugins/travis.md +5 -6
- package/src/docs/docs/reference/plugins/ts-node.md +2 -5
- package/src/docs/docs/reference/plugins/tsdown.md +7 -8
- package/src/docs/docs/reference/plugins/tsup.md +7 -8
- package/src/docs/docs/reference/plugins/tsx.md +6 -8
- package/src/docs/docs/reference/plugins/typedoc.md +3 -7
- package/src/docs/docs/reference/plugins/typescript.md +7 -10
- package/src/docs/docs/reference/plugins/unbuild.md +5 -6
- package/src/docs/docs/reference/plugins/unocss.md +2 -5
- package/src/docs/docs/reference/plugins/vercel-og.md +2 -5
- package/src/docs/docs/reference/plugins/vike.md +2 -5
- package/src/docs/docs/reference/plugins/vite.md +6 -8
- package/src/docs/docs/reference/plugins/vitepress.md +2 -5
- package/src/docs/docs/reference/plugins/vitest.md +3 -7
- package/src/docs/docs/reference/plugins/vue.md +5 -6
- package/src/docs/docs/reference/plugins/webdriver-io.md +5 -6
- package/src/docs/docs/reference/plugins/webpack.md +6 -8
- package/src/docs/docs/reference/plugins/wireit.md +5 -6
- package/src/docs/docs/reference/plugins/wrangler.md +5 -6
- package/src/docs/docs/reference/plugins/xo.md +6 -6
- package/src/docs/docs/reference/plugins/yarn.md +8 -7
- package/src/docs/docs/reference/plugins/yorkie.md +5 -6
- package/src/docs/docs/reference/plugins/zx.md +1 -3
- package/src/docs/docs/reference/plugins.md +8 -1
- package/src/docs/docs/sponsors.mdx +2 -2
- package/src/docs/docs/writing-a-plugin/index.md +2 -2
- package/src/texts.js +7 -4
- package/src/tools.js +22 -7
- /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
|
"drizzle": {
|
|
18
|
-
"config": [
|
|
18
|
+
"config": [
|
|
19
|
+
"drizzle.config.{ts,js,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]
|
|
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 [drizzle plugin source code]
|
|
32
|
-
|
|
33
|
-
[1]: ../../explanations/plugins.md
|
|
34
|
-
[2]: 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](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/drizzle/index.ts).
|
|
@@ -15,8 +15,14 @@ If this plugin is enabled, the following configuration is added automatically:
|
|
|
15
15
|
```json
|
|
16
16
|
{
|
|
17
17
|
"eleventy": {
|
|
18
|
-
"config": [
|
|
19
|
-
|
|
18
|
+
"config": [
|
|
19
|
+
".eleventy.js",
|
|
20
|
+
"eleventy.config.{js,cjs,mjs}"
|
|
21
|
+
],
|
|
22
|
+
"entry": [
|
|
23
|
+
"posts/**/*.11tydata.js",
|
|
24
|
+
"_data/**/*.{js,cjs,mjs}"
|
|
25
|
+
]
|
|
20
26
|
}
|
|
21
27
|
}
|
|
22
28
|
```
|
|
@@ -25,11 +31,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
|
|
|
25
31
|
|
|
26
32
|
Custom `config` or `entry` options override default values, they are not merged.
|
|
27
33
|
|
|
28
|
-
See [Plugins]
|
|
34
|
+
See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
|
|
29
35
|
|
|
30
36
|
## Generated from source
|
|
31
37
|
|
|
32
|
-
This page was generated from the [eleventy plugin source code]
|
|
33
|
-
|
|
34
|
-
[1]: ../../explanations/plugins.md
|
|
35
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/eleventy/index.ts
|
|
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,7 +34,7 @@ Depending on local configuration, plugins may modify the defaults as shown.
|
|
|
34
34
|
|
|
35
35
|
Custom `config` or `entry` options override default values, they are not merged.
|
|
36
36
|
|
|
37
|
-
See [Plugins]
|
|
37
|
+
See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
|
|
38
38
|
|
|
39
39
|
## Note
|
|
40
40
|
|
|
@@ -42,11 +42,11 @@ See [Plugins][1] for more details about plugins and their `entry` and `config` o
|
|
|
42
42
|
|
|
43
43
|
The ESLint plugin config resolver is disabled when using `eslint-config-next` (`next lint`).
|
|
44
44
|
|
|
45
|
-
Root cause: [microsoft/rushstack#4965]
|
|
45
|
+
Root cause: [microsoft/rushstack#4965](https://github.com/microsoft/rushstack/issues/4965)/[#5049](https://github.com/microsoft/rushstack/issues/5049)
|
|
46
46
|
|
|
47
47
|
### ESLint v8
|
|
48
48
|
|
|
49
|
-
If relying on [configuration cascading]
|
|
49
|
+
If relying on [configuration cascading](https://eslint.org/docs/v8.x/use/configure/configuration-files#cascading-and-hierarchy),
|
|
50
50
|
consider using an extended glob pattern like this:
|
|
51
51
|
|
|
52
52
|
```json
|
|
@@ -72,15 +72,8 @@ resolveInputs: (parsed ) => {
|
|
|
72
72
|
}
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
The configuration was generated from source code. Also see [Script Parser]
|
|
75
|
+
The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).
|
|
76
76
|
|
|
77
77
|
## Generated from source
|
|
78
78
|
|
|
79
|
-
This page was generated from the [eslint plugin source code]
|
|
80
|
-
|
|
81
|
-
[1]: ../../explanations/plugins.md
|
|
82
|
-
[2]: https://github.com/microsoft/rushstack/issues/4965
|
|
83
|
-
[3]: https://github.com/microsoft/rushstack/issues/5049
|
|
84
|
-
[4]: https://eslint.org/docs/v8.x/use/configure/configuration-files#cascading-and-hierarchy
|
|
85
|
-
[5]: ../../features/script-parser.md
|
|
86
|
-
[6]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/eslint/index.ts
|
|
79
|
+
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).
|
|
@@ -10,6 +10,4 @@ This plugin is enabled if `"execa"` is listed in `"dependencies"` or `"devDepend
|
|
|
10
10
|
|
|
11
11
|
## Generated from source
|
|
12
12
|
|
|
13
|
-
This page was generated from the [execa plugin source code]
|
|
14
|
-
|
|
15
|
-
[1]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/execa/index.ts
|
|
13
|
+
This page was generated from the [execa plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/execa/index.ts).
|
|
@@ -15,8 +15,14 @@ If this plugin is enabled, the following configuration is added automatically:
|
|
|
15
15
|
```json
|
|
16
16
|
{
|
|
17
17
|
"expo": {
|
|
18
|
-
"config": [
|
|
19
|
-
|
|
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
|
+
]
|
|
20
26
|
}
|
|
21
27
|
}
|
|
22
28
|
```
|
|
@@ -25,11 +31,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
|
|
|
25
31
|
|
|
26
32
|
Custom `config` or `entry` options override default values, they are not merged.
|
|
27
33
|
|
|
28
|
-
See [Plugins]
|
|
34
|
+
See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
|
|
29
35
|
|
|
30
36
|
## Generated from source
|
|
31
37
|
|
|
32
|
-
This page was generated from the [expo plugin source code]
|
|
33
|
-
|
|
34
|
-
[1]: ../../explanations/plugins.md
|
|
35
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/expo/index.ts
|
|
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).
|
|
@@ -21,7 +21,9 @@ If this plugin is enabled, the following configuration is added automatically:
|
|
|
21
21
|
```json
|
|
22
22
|
{
|
|
23
23
|
"expressive-code": {
|
|
24
|
-
"config": [
|
|
24
|
+
"config": [
|
|
25
|
+
"ec.config.{js,mjs,cjs,ts}"
|
|
26
|
+
]
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
29
|
```
|
|
@@ -30,11 +32,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
|
|
|
30
32
|
|
|
31
33
|
Custom `config` or `entry` options override default values, they are not merged.
|
|
32
34
|
|
|
33
|
-
See [Plugins]
|
|
35
|
+
See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
|
|
34
36
|
|
|
35
37
|
## Generated from source
|
|
36
38
|
|
|
37
|
-
This page was generated from the [expressive-code plugin source code]
|
|
38
|
-
|
|
39
|
-
[1]: ../../explanations/plugins.md
|
|
40
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/expressive-code/index.ts
|
|
39
|
+
This page was generated from the [expressive-code plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/expressive-code/index.ts).
|
|
@@ -39,11 +39,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
|
|
|
39
39
|
|
|
40
40
|
Custom `config` or `entry` options override default values, they are not merged.
|
|
41
41
|
|
|
42
|
-
See [Plugins]
|
|
42
|
+
See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
|
|
43
43
|
|
|
44
44
|
## Generated from source
|
|
45
45
|
|
|
46
|
-
This page was generated from the [gatsby plugin source code]
|
|
47
|
-
|
|
48
|
-
[1]: ../../explanations/plugins.md
|
|
49
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/gatsby/index.ts
|
|
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).
|
|
@@ -15,7 +15,9 @@ If this plugin is enabled, the following configuration is added automatically:
|
|
|
15
15
|
```json
|
|
16
16
|
{
|
|
17
17
|
"github-action": {
|
|
18
|
-
"config": [
|
|
18
|
+
"config": [
|
|
19
|
+
"action.{yml,yaml}"
|
|
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]
|
|
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 [github-action plugin source code]
|
|
32
|
-
|
|
33
|
-
[1]: ../../explanations/plugins.md
|
|
34
|
-
[2]: 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](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/github-action/index.ts).
|
|
@@ -15,7 +15,10 @@ If this plugin is enabled, the following configuration is added automatically:
|
|
|
15
15
|
```json
|
|
16
16
|
{
|
|
17
17
|
"github-actions": {
|
|
18
|
-
"config": [
|
|
18
|
+
"config": [
|
|
19
|
+
".github/workflows/*.{yml,yaml}",
|
|
20
|
+
".github/**/action.{yml,yaml}"
|
|
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]
|
|
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 [github-actions plugin source code]
|
|
32
|
-
|
|
33
|
-
[1]: ../../explanations/plugins.md
|
|
34
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/github-actions/index.ts
|
|
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).
|
|
@@ -19,11 +19,8 @@ alias: {"cmd": ["c"]}
|
|
|
19
19
|
fromArgs: ["cmd"]
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
The configuration was generated from source code. Also see [Script Parser]
|
|
22
|
+
The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).
|
|
23
23
|
|
|
24
24
|
## Generated from source
|
|
25
25
|
|
|
26
|
-
This page was generated from the [glob plugin source code]
|
|
27
|
-
|
|
28
|
-
[1]: ../../features/script-parser.md
|
|
29
|
-
[2]: 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](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/glob/index.ts).
|
|
@@ -36,11 +36,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
|
|
|
36
36
|
|
|
37
37
|
Custom `config` or `entry` options override default values, they are not merged.
|
|
38
38
|
|
|
39
|
-
See [Plugins]
|
|
39
|
+
See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
|
|
40
40
|
|
|
41
41
|
## Generated from source
|
|
42
42
|
|
|
43
|
-
This page was generated from the [graphql-codegen plugin source code]
|
|
44
|
-
|
|
45
|
-
[1]: ../../explanations/plugins.md
|
|
46
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/graphql-codegen/index.ts
|
|
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).
|
|
@@ -15,7 +15,9 @@ If this plugin is enabled, the following configuration is added automatically:
|
|
|
15
15
|
```json
|
|
16
16
|
{
|
|
17
17
|
"hardhat": {
|
|
18
|
-
"entry": [
|
|
18
|
+
"entry": [
|
|
19
|
+
"hardhat.config.{js,cjs,mjs,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]
|
|
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 [hardhat plugin source code]
|
|
32
|
-
|
|
33
|
-
[1]: ../../explanations/plugins.md
|
|
34
|
-
[2]: 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](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/hardhat/index.ts).
|
|
@@ -30,11 +30,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
|
|
|
30
30
|
|
|
31
31
|
Custom `config` or `entry` options override default values, they are not merged.
|
|
32
32
|
|
|
33
|
-
See [Plugins]
|
|
33
|
+
See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
|
|
34
34
|
|
|
35
35
|
## Generated from source
|
|
36
36
|
|
|
37
|
-
This page was generated from the [husky plugin source code]
|
|
38
|
-
|
|
39
|
-
[1]: ../../explanations/plugins.md
|
|
40
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/husky/index.ts
|
|
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).
|
|
@@ -15,7 +15,9 @@ If this plugin is enabled, the following configuration is added automatically:
|
|
|
15
15
|
```json
|
|
16
16
|
{
|
|
17
17
|
"i18next-parser": {
|
|
18
|
-
"config": [
|
|
18
|
+
"config": [
|
|
19
|
+
"i18next-parser.config.{js,mjs,json,ts,yaml,yml}"
|
|
20
|
+
]
|
|
19
21
|
}
|
|
20
22
|
}
|
|
21
23
|
```
|
|
@@ -24,7 +26,7 @@ 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]
|
|
29
|
+
See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
|
|
28
30
|
|
|
29
31
|
## Shell commands
|
|
30
32
|
|
|
@@ -35,12 +37,8 @@ binary. Configuration:
|
|
|
35
37
|
config: true
|
|
36
38
|
```
|
|
37
39
|
|
|
38
|
-
The configuration was generated from source code. Also see [Script Parser]
|
|
40
|
+
The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).
|
|
39
41
|
|
|
40
42
|
## Generated from source
|
|
41
43
|
|
|
42
|
-
This page was generated from the [i18next-parser plugin source code]
|
|
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/i18next-parser/index.ts
|
|
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).
|
|
@@ -15,7 +15,10 @@ If this plugin is enabled, the following configuration is added automatically:
|
|
|
15
15
|
```json
|
|
16
16
|
{
|
|
17
17
|
"jest": {
|
|
18
|
-
"config": [
|
|
18
|
+
"config": [
|
|
19
|
+
"jest.config.{js,ts,mjs,cjs,json}",
|
|
20
|
+
"package.json"
|
|
21
|
+
],
|
|
19
22
|
"entry": [
|
|
20
23
|
"**/__tests__/**/*.[jt]s?(x)",
|
|
21
24
|
"**/?(*.)+(spec|test).[jt]s?(x)",
|
|
@@ -29,7 +32,7 @@ Depending on local configuration, plugins may modify the defaults as shown.
|
|
|
29
32
|
|
|
30
33
|
Custom `config` or `entry` options override default values, they are not merged.
|
|
31
34
|
|
|
32
|
-
See [Plugins]
|
|
35
|
+
See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
|
|
33
36
|
|
|
34
37
|
## Shell commands
|
|
35
38
|
|
|
@@ -40,12 +43,8 @@ binary. Configuration:
|
|
|
40
43
|
config: true
|
|
41
44
|
```
|
|
42
45
|
|
|
43
|
-
The configuration was generated from source code. Also see [Script Parser]
|
|
46
|
+
The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).
|
|
44
47
|
|
|
45
48
|
## Generated from source
|
|
46
49
|
|
|
47
|
-
This page was generated from the [jest plugin source code]
|
|
48
|
-
|
|
49
|
-
[1]: ../../explanations/plugins.md
|
|
50
|
-
[2]: ../../features/script-parser.md
|
|
51
|
-
[3]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/jest/index.ts
|
|
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).
|
|
@@ -29,11 +29,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
|
|
|
29
29
|
|
|
30
30
|
Custom `config` or `entry` options override default values, they are not merged.
|
|
31
31
|
|
|
32
|
-
See [Plugins]
|
|
32
|
+
See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
|
|
33
33
|
|
|
34
34
|
## Generated from source
|
|
35
35
|
|
|
36
|
-
This page was generated from the [karma plugin source code]
|
|
37
|
-
|
|
38
|
-
[1]: ../../explanations/plugins.md
|
|
39
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/karma/index.ts
|
|
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).
|
|
@@ -15,7 +15,9 @@ If this plugin is enabled, the following configuration is added automatically:
|
|
|
15
15
|
```json
|
|
16
16
|
{
|
|
17
17
|
"knex": {
|
|
18
|
-
"config": [
|
|
18
|
+
"config": [
|
|
19
|
+
"knexfile.{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]
|
|
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 [knex plugin source code]
|
|
32
|
-
|
|
33
|
-
[1]: ../../explanations/plugins.md
|
|
34
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/knex/index.ts
|
|
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).
|
|
@@ -15,12 +15,16 @@ If this plugin is enabled, the following configuration is added automatically:
|
|
|
15
15
|
```json
|
|
16
16
|
{
|
|
17
17
|
"ladle": {
|
|
18
|
-
"config": [
|
|
18
|
+
"config": [
|
|
19
|
+
".ladle/config.{mjs,js,ts}"
|
|
20
|
+
],
|
|
19
21
|
"entry": [
|
|
20
22
|
".ladle/components.{js,jsx,ts,tsx}",
|
|
21
23
|
"src/**/*.stories.{js,jsx,ts,tsx,mdx}"
|
|
22
24
|
],
|
|
23
|
-
"project": [
|
|
25
|
+
"project": [
|
|
26
|
+
".ladle/**/*.{js,jsx,ts,tsx}"
|
|
27
|
+
]
|
|
24
28
|
}
|
|
25
29
|
}
|
|
26
30
|
```
|
|
@@ -29,11 +33,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
|
|
|
29
33
|
|
|
30
34
|
Custom `config` or `entry` options override default values, they are not merged.
|
|
31
35
|
|
|
32
|
-
See [Plugins]
|
|
36
|
+
See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
|
|
33
37
|
|
|
34
38
|
## Generated from source
|
|
35
39
|
|
|
36
|
-
This page was generated from the [ladle plugin source code]
|
|
37
|
-
|
|
38
|
-
[1]: ../../explanations/plugins.md
|
|
39
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/ladle/index.ts
|
|
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).
|
|
@@ -36,11 +36,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
|
|
|
36
36
|
|
|
37
37
|
Custom `config` or `entry` options override default values, they are not merged.
|
|
38
38
|
|
|
39
|
-
See [Plugins]
|
|
39
|
+
See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
|
|
40
40
|
|
|
41
41
|
## Generated from source
|
|
42
42
|
|
|
43
|
-
This page was generated from the [lefthook plugin source code]
|
|
44
|
-
|
|
45
|
-
[1]: ../../explanations/plugins.md
|
|
46
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/lefthook/index.ts
|
|
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).
|
|
@@ -38,11 +38,8 @@ Depending on local configuration, plugins may modify the defaults as shown.
|
|
|
38
38
|
|
|
39
39
|
Custom `config` or `entry` options override default values, they are not merged.
|
|
40
40
|
|
|
41
|
-
See [Plugins]
|
|
41
|
+
See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
|
|
42
42
|
|
|
43
43
|
## Generated from source
|
|
44
44
|
|
|
45
|
-
This page was generated from the [lint-staged plugin source code]
|
|
46
|
-
|
|
47
|
-
[1]: ../../explanations/plugins.md
|
|
48
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/lint-staged/index.ts
|
|
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).
|
|
@@ -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]
|
|
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 [linthtml plugin source code]
|
|
39
|
-
|
|
40
|
-
[1]: ../../explanations/plugins.md
|
|
41
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/linthtml/index.ts
|
|
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).
|
|
@@ -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]
|
|
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 [lockfile-lint plugin source code]
|
|
39
|
-
|
|
40
|
-
[1]: ../../explanations/plugins.md
|
|
41
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/lockfile-lint/index.ts
|
|
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).
|
|
@@ -15,7 +15,9 @@ If this plugin is enabled, the following configuration is added automatically:
|
|
|
15
15
|
```json
|
|
16
16
|
{
|
|
17
17
|
"lost-pixel": {
|
|
18
|
-
"config": [
|
|
18
|
+
"config": [
|
|
19
|
+
"lostpixel.config.{js,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]
|
|
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 [lost-pixel plugin source code]
|
|
32
|
-
|
|
33
|
-
[1]: ../../explanations/plugins.md
|
|
34
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/lost-pixel/index.ts
|
|
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).
|
|
@@ -15,7 +15,10 @@ If this plugin is enabled, the following configuration is added automatically:
|
|
|
15
15
|
```json
|
|
16
16
|
{
|
|
17
17
|
"markdownlint": {
|
|
18
|
-
"config": [
|
|
18
|
+
"config": [
|
|
19
|
+
".markdownlint.{json,jsonc}",
|
|
20
|
+
".markdownlint.{yml,yaml}"
|
|
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]
|
|
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 [markdownlint plugin source code]
|
|
32
|
-
|
|
33
|
-
[1]: ../../explanations/plugins.md
|
|
34
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/markdownlint/index.ts
|
|
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).
|
|
@@ -19,7 +19,9 @@ If this plugin is enabled, the following configuration is added automatically:
|
|
|
19
19
|
```json
|
|
20
20
|
{
|
|
21
21
|
"mdx": {
|
|
22
|
-
"config": [
|
|
22
|
+
"config": [
|
|
23
|
+
"tsconfig.json"
|
|
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]
|
|
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 [mdx plugin source code]
|
|
36
|
-
|
|
37
|
-
[1]: ../../explanations/plugins.md
|
|
38
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/mdx/index.ts
|
|
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).
|
|
@@ -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]
|
|
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 [mdxlint plugin source code]
|
|
36
|
-
|
|
37
|
-
[1]: ../../explanations/plugins.md
|
|
38
|
-
[2]: https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/mdxlint/index.ts
|
|
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).
|