mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
knip derives its entry points from vitest's `test.include`, which does not cover `test.typecheck.include`, so the new `*.test-d.tsx` file read as an unused file and failed the lint job. Declare the glob as an entry point. Also drops the doc comment on `DataTableResolvedProps`; the rationale for the resolved/public split belongs in the commit that introduced it.
32 lines
882 B
JSON
32 lines
882 B
JSON
{
|
|
"$schema": "https://unpkg.com/knip@5/schema.json",
|
|
"entry": ["scripts/**/*.{ts,mjs}", "src/components/ui/**/*.{ts,tsx}", "src/**/*.test-d.{ts,tsx}"],
|
|
"project": ["src/**/*.{ts,tsx}", "tests/**/*.{ts,tsx}", "scripts/**/*.{ts,mjs}"],
|
|
"ignore": ["src/lib/http/schema.d.ts"],
|
|
"ignoreDependencies": [
|
|
"openapi-typescript",
|
|
"@headlessui/tailwindcss",
|
|
"@tailwindcss/forms",
|
|
"tailwindcss",
|
|
"tw-animate-css"
|
|
],
|
|
"vitest": {
|
|
"config": ["vitest.config.ts"]
|
|
},
|
|
"rules": {
|
|
"files": "error",
|
|
"dependencies": "error",
|
|
"devDependencies": "error",
|
|
"optionalPeerDependencies": "error",
|
|
"unlisted": "error",
|
|
"binaries": "error",
|
|
"unresolved": "error",
|
|
"exports": "warn",
|
|
"nsExports": "warn",
|
|
"types": "warn",
|
|
"nsTypes": "warn",
|
|
"enumMembers": "warn",
|
|
"classMembers": "warn",
|
|
"duplicates": "warn"
|
|
}
|
|
}
|