Skip to content

Commit b1188fe

Browse files
committed
ref: knip v6
1 parent c73e4a2 commit b1188fe

File tree

3 files changed

+325
-105
lines changed

3 files changed

+325
-105
lines changed

knip.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
{
22
"$schema": "https://unpkg.com/knip@5/schema.json",
3-
"ignore": [
4-
".pnpmfile.cjs",
5-
"scripts/*.{j,t}s",
6-
"**/root.*.config.*",
7-
"**/ts-fixture/file.ts"
8-
],
3+
"ignore": ["scripts/*.{j,t}s", "**/root.*.config.*", "**/ts-fixture/file.ts"],
94
"ignoreDependencies": [
105
"@types/react",
116
"@types/react-dom",
@@ -25,7 +20,6 @@
2520
"ignore": ["**/__testfixtures__/**"]
2621
},
2722
"packages/vue-query": {
28-
"ignore": ["**/__mocks__/**"],
2923
"ignoreDependencies": ["vue2", "vue2.7"]
3024
}
3125
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"test:lib:dev": "pnpm run test:lib && nx watch --all -- pnpm run test:lib",
2020
"test:build": "nx affected --target=test:build --exclude=examples/**",
2121
"test:types": "nx affected --target=test:types --exclude=examples/**",
22-
"test:knip": "knip",
22+
"test:knip": "knip --treat-config-hints-as-errors",
2323
"test:docs": "node scripts/verify-links.ts",
2424
"build": "nx affected --target=build --exclude=examples/** --exclude=integrations/**",
2525
"build:all": "nx run-many --target=build --exclude=examples/** --exclude=integrations/**",
@@ -59,7 +59,7 @@
5959
"eslint": "^9.36.0",
6060
"eslint-plugin-react-hooks": "^6.1.1",
6161
"jsdom": "^27.0.0",
62-
"knip": "^5.63.1",
62+
"knip": "^6.0.2",
6363
"markdown-link-extractor": "^4.0.2",
6464
"nx": "22.1.3",
6565
"premove": "^4.0.0",

0 commit comments

Comments
 (0)