Skip to content

Commit 39a13b7

Browse files
committed
6
1 parent 5b9e7e4 commit 39a13b7

File tree

15 files changed

+17
-18
lines changed

15 files changed

+17
-18
lines changed

knip.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"$schema": "https://unpkg.com/knip@5/schema.json",
3-
"include": ["classMembers"],
2+
"$schema": "https://unpkg.com/knip@6/schema.json",
43
"workspaces": {
54
".": {
65
"project": ["!templates/**"]

packages/create-config/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const main = () => {
126126
console.info('✓ Install Knip');
127127

128128
const knipConfig = {
129-
$schema: 'https://unpkg.com/knip@5/schema.json',
129+
$schema: 'https://unpkg.com/knip@6/schema.json',
130130
tags: ['-lintignore'],
131131
};
132132

packages/docs/src/content/docs/overview/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ folder:
4646

4747
```json title="knip.json"
4848
{
49-
"$schema": "https://unpkg.com/knip@5/schema.json",
49+
"$schema": "https://unpkg.com/knip@6/schema.json",
5050
"entry": ["src/index.ts", "scripts/{build,create}.js"],
5151
"project": ["src/**/*.ts", "scripts/**/*.js"]
5252
}

packages/docs/src/content/docs/reference/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ In JSON, use the provided JSON schema:
1616

1717
```json title="knip.json"
1818
{
19-
"$schema": "https://unpkg.com/knip@5/schema.json"
19+
"$schema": "https://unpkg.com/knip@6/schema.json"
2020
}
2121
```
2222

@@ -26,7 +26,7 @@ In JSONC, use the provided JSONC schema:
2626

2727
```json title="knip.jsonc"
2828
{
29-
"$schema": "https://unpkg.com/knip@5/schema-jsonc.json"
29+
"$schema": "https://unpkg.com/knip@6/schema-jsonc.json"
3030
}
3131
```
3232

packages/knip/fixtures/configuration-hints-plugin-override/knip.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://unpkg.com/knip@5/schema.json",
2+
"$schema": "https://unpkg.com/knip@6/schema.json",
33
"entry": ["svgo.config.js", "yarn.config.cjs"],
44
"create-typescript-app": {
55
"entry": ["create-typescript-app.config.ts"]

packages/knip/fixtures/configuration-hints/knip.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://unpkg.com/knip@5/schema.json",
2+
"$schema": "https://unpkg.com/knip@6/schema.json",
33
"entry": ["src/entry.js"],
44
"project": ["src/**"],
55
"workspaces": {}

packages/knip/fixtures/configuration-hints2/knip.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://unpkg.com/knip@5/schema.json",
2+
"$schema": "https://unpkg.com/knip@6/schema.json",
33
"entry": ["src/entry.js", "lib/index.js"],
44
"project": ["src/**"],
55
"workspaces": {

packages/knip/fixtures/ignore-files/knip.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://unpkg.com/knip@5/schema.json",
2+
"$schema": "https://unpkg.com/knip@6/schema.json",
33
"ignoreFiles": ["bananas/**", "rooted.js"],
44
"workspaces": {
55
"apples": {

packages/knip/fixtures/ignore-unresolved2/knip.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://unpkg.com/knip@5/schema.json",
2+
"$schema": "https://unpkg.com/knip@6/schema.json",
33
"ignoreUnresolved": [
44
"./unresolved-top-level",
55
"unused-top-level",

packages/knip/fixtures/plugin-negated-entry-globs/knip.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://unpkg.com/knip@5/schema.json",
2+
"$schema": "https://unpkg.com/knip@6/schema.json",
33
"storybook": {
44
"entry": ["**/*.stories.ts"]
55
}

0 commit comments

Comments
 (0)