chore: remove knip dependency and config
This commit is contained in:
26
package.json
26
package.json
@@ -10,8 +10,7 @@
|
||||
"build:ts": "bun run ./scripts/build-ts.ts",
|
||||
"format": "bunx oxfmt",
|
||||
"format:check": "bunx oxfmt --check",
|
||||
"lint": "bun run lint:ts && bun run lint:dead && bun run lint:go",
|
||||
"lint:dead": "knip --no-progress",
|
||||
"lint": "bun run lint:ts && bun run lint:go",
|
||||
"lint:ts": "bunx oxlint --ignore-path .oxlintignore static --tsconfig ./tsconfig.json --type-aware --max-warnings 0",
|
||||
"lint:ts:fix": "bunx oxlint --ignore-path .oxlintignore static --tsconfig ./tsconfig.json --type-aware --max-warnings 0 --fix",
|
||||
"lint:go": "golangci-lint run ./..."
|
||||
@@ -23,34 +22,11 @@
|
||||
"devDependencies": {
|
||||
"@tailwindcss/cli": "^4.3.0",
|
||||
"@types/node": "^24.0.0",
|
||||
"knip": "^6.17.1",
|
||||
"lefthook": "^2.1.6",
|
||||
"oxfmt": "^0.52.0",
|
||||
"oxlint": "^1.67.0",
|
||||
"oxlint-tsgolint": "^0.23.0",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"typescript": "^6.0.3"
|
||||
},
|
||||
"knip": {
|
||||
"entry": [
|
||||
"static/app.ts",
|
||||
"static/player/main.ts",
|
||||
"static/player/subtitles/vtt.test.ts",
|
||||
"scripts/fix-all.ts",
|
||||
"scripts/new-data-fix.ts"
|
||||
],
|
||||
"project": [
|
||||
"static/**/*.ts",
|
||||
"scripts/**/*.ts"
|
||||
],
|
||||
"ignoreDependencies": [
|
||||
"htmx.org",
|
||||
"tailwindcss"
|
||||
],
|
||||
"ignoreBinaries": [
|
||||
"go",
|
||||
"gofmt",
|
||||
"golangci-lint"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user