chore: remove knip dependency and config
This commit is contained in:
3
bun.lock
3
bun.lock
@@ -11,7 +11,6 @@
|
||||
"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",
|
||||
@@ -294,8 +293,6 @@
|
||||
|
||||
"jiti": ["jiti@2.7.0", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ=="],
|
||||
|
||||
"knip": ["knip@6.17.1", "", { "dependencies": { "fdir": "^6.5.0", "formatly": "^0.3.0", "get-tsconfig": "4.14.0", "jiti": "^2.7.0", "oxc-parser": "^0.135.0", "oxc-resolver": "^11.20.0", "picomatch": "^4.0.4", "smol-toml": "^1.6.1", "strip-json-comments": "5.0.3", "tinyglobby": "^0.2.17", "unbash": "^4.0.1", "yaml": "^2.9.0", "zod": "^4.1.11" }, "bin": { "knip": "bin/knip.js", "knip-bun": "bin/knip-bun.js" } }, "sha512-HcQsZSQ4Ymhuay4BVzJtM5pFZNDSomYYqcNCZOSITPQh9g18a09DqziWAxSt2G+BH9wGlG+0ZjWpEnaFlnKseQ=="],
|
||||
|
||||
"lefthook": ["lefthook@2.1.6", "", { "optionalDependencies": { "lefthook-darwin-arm64": "2.1.6", "lefthook-darwin-x64": "2.1.6", "lefthook-freebsd-arm64": "2.1.6", "lefthook-freebsd-x64": "2.1.6", "lefthook-linux-arm64": "2.1.6", "lefthook-linux-x64": "2.1.6", "lefthook-openbsd-arm64": "2.1.6", "lefthook-openbsd-x64": "2.1.6", "lefthook-windows-arm64": "2.1.6", "lefthook-windows-x64": "2.1.6" }, "bin": { "lefthook": "bin/index.js" } }, "sha512-w9sBoR0mdN+kJc3SB85VzpiAAl451/rxdCRcZlwW71QLjkeH3EBQFgc4VMj5apePychYDHAlqEWTB8J8JK/j1Q=="],
|
||||
|
||||
"lefthook-darwin-arm64": ["lefthook-darwin-arm64@2.1.6", "", { "os": "darwin", "cpu": "arm64" }, "sha512-hyB7eeiX78BS66f70byTJacDLC/xV1vgMv9n+idFUsrM7J3Udd/ag9Ag5NP3t0eN0EqQqAtrNnt35EH01lxnRQ=="],
|
||||
|
||||
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