mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-13 08:52:02 +00:00
* build(ui): fail lint on hardcoded English in dashboard JSX Adds eslint-plugin-i18next no-literal-string in jsx-only mode with type info for dashboard source files, skipping tests and the two untranslated files, plus a no-restricted-syntax selector that rejects an English literal as the first argument to toast.success, error, warning or info. * test(ui): lint the fetch rule fixture at a real source path Type-aware linting needs the file to be in the TypeScript project, so a virtual path under src now fails to parse and no rule runs. The fixture now uses src/app/layout.tsx with the same code and assertions. |
||
|---|---|---|
| .. | ||
| eslint-rules | ||
| mocks | ||
| autoRouterSetup.ts | ||
| CreateKeyPage.expiredToken.test.tsx | ||
| fetch-location-rule.test.ts | ||
| fieldOrientation.ts | ||
| jsdomFetchEnv.ts | ||
| lint-budget-lib.test.ts | ||
| mounted-form-host.tsx | ||
| setup.unit.ts | ||
| setupTests.ts | ||
| test-utils.tsx | ||
| top_key_view.test.tsx | ||