Skip to content

Commit a8efc27

Browse files
authored
install knip (#1530)
1 parent 4867232 commit a8efc27

File tree

3 files changed

+161
-17
lines changed

3 files changed

+161
-17
lines changed

knip.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "https://unpkg.com/knip@5/schema.json",
3+
"ignore": [
4+
"apps/**/generated/**",
5+
"packages/**/generated/**"
6+
]
7+
}

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"lint:packages:fix": "sherif --fix",
1818
"prepare": "husky",
1919
"start": "turbo run start",
20-
"test": "turbo run test"
20+
"test": "turbo run test",
21+
"knip": "knip"
2122
},
2223
"devDependencies": {
2324
"@changesets/cli": "^2.26.2",
@@ -42,11 +43,13 @@
4243
"eslint": "8.57.0",
4344
"eslint-config-saleor": "workspace:*",
4445
"husky": "9.1.4",
46+
"knip": "5.27.2",
4547
"lint-staged": "^13.2.3",
4648
"next": "14.2.3",
4749
"prettier": "3.0.3",
4850
"sherif": "0.10.0",
49-
"turbo": "1.12.4"
51+
"turbo": "1.12.4",
52+
"typescript": "5.5.4"
5053
},
5154
"engines": {
5255
"node": ">=18.17.0 <=20",

0 commit comments

Comments
 (0)