diff --git a/packages/docs/src/content/docs/overview/configuration.md b/packages/docs/src/content/docs/overview/configuration.md index 6f401e4e2..9a458d737 100644 --- a/packages/docs/src/content/docs/overview/configuration.md +++ b/packages/docs/src/content/docs/overview/configuration.md @@ -50,7 +50,7 @@ files in the `scripts` folder: ```json title="knip.json" { - "$schema": "https://unpkg.com/knip@4/schema.json", + "$schema": "https://unpkg.com/knip@5/schema.json", "entry": ["src/index.ts", "scripts/{build,create}.js"], "project": ["src/**/*.ts", "scripts/**/*.js"] } diff --git a/packages/docs/src/content/docs/reference/configuration.md b/packages/docs/src/content/docs/reference/configuration.md index 050fc2054..8179388b2 100644 --- a/packages/docs/src/content/docs/reference/configuration.md +++ b/packages/docs/src/content/docs/reference/configuration.md @@ -17,7 +17,7 @@ In JSON, you can use the provided JSON schema: ```json title="knip.json" { - "$schema": "https://unpkg.com/knip@4/schema.json" + "$schema": "https://unpkg.com/knip@5/schema.json" } ``` @@ -25,7 +25,7 @@ In JSONC, you can use the provided JSONC schema: ```json title="knip.jsonc" { - "$schema": "https://unpkg.com/knip@4/schema-jsonc.json" + "$schema": "https://unpkg.com/knip@5/schema-jsonc.json" } ``` diff --git a/packages/knip/schema-jsonc.json b/packages/knip/schema-jsonc.json index ff808280c..6d34daf1b 100644 --- a/packages/knip/schema-jsonc.json +++ b/packages/knip/schema-jsonc.json @@ -4,7 +4,7 @@ "description": "See https://github.com/webpro/knip", "allOf": [ { - "$ref": "https://unpkg.com/knip@4/schema.json" + "$ref": "https://unpkg.com/knip@5/schema.json" } ], "allowTrailingCommas": true