fix(lint): baseline antd suppressions for new models-and-endpoints route files

PR #34327 split the Models + Endpoints view into per-tab route pages. Three
of the new files thinly wrap existing antd-based components and still need
antd imports:

  models-and-endpoints/add/page.tsx (Form.useForm for AddModelTab)
  models-and-endpoints/llm-credentials/page.tsx (Form.useForm for CredentialsPanel)
  models-and-endpoints/vertexCredentialsUpload.ts (FormInstance/UploadProps types)

Adjacent new files with antd imports from the same PR (layout.tsx,
PriceDataManagementTab.tsx) were baselined in eslint-suppressions.json, but
these three were missed, so the promote-to-main frontend-lint check on
litellm_internal_staging fails with three no-restricted-imports errors.

Add them to the suppressions baseline (via eslint --suppress-rule
no-restricted-imports), matching the treatment of the other new files in
the same route until the underlying components are migrated off antd.

Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-07-24 04:08:02 +00:00
parent 64aad5877a
commit b9b7f2ce07
No known key found for this signature in database

View file

@ -1124,6 +1124,11 @@
"count": 1
}
},
"src/app/(dashboard)/models-and-endpoints/add/page.tsx": {
"no-restricted-imports": {
"count": 1
}
},
"src/app/(dashboard)/models-and-endpoints/components/ModelRetrySettingsTab.test.tsx": {
"react/display-name": {
"count": 1
@ -1147,11 +1152,21 @@
"count": 1
}
},
"src/app/(dashboard)/models-and-endpoints/llm-credentials/page.tsx": {
"no-restricted-imports": {
"count": 1
}
},
"src/app/(dashboard)/models-and-endpoints/utils/modelDataTransformer.ts": {
"prefer-const": {
"count": 6
}
},
"src/app/(dashboard)/models-and-endpoints/vertexCredentialsUpload.ts": {
"no-restricted-imports": {
"count": 1
}
},
"src/app/(dashboard)/old-usage/_components/usage.tsx": {
"local/filename-pascal-case": {
"count": 1