mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
The dashboard lint-budgets step ran check-lint-budgets.mjs in --check mode, which fails and tells you to run `npm run lint:metrics` and re-stage by hand. Add a --write mode that rewrites eslint-metrics.json from the same eslint report, and have pre-commit use it, then flag drift via git diff so you re-stage; this mirrors how the block below regenerates schema.d.ts. CI keeps using --check, so it still fails on a stale committed metrics file. |
||
|---|---|---|
| .. | ||
| eslint-rules | ||
| check-lint-budgets.mjs | ||
| gen-api-types.mjs | ||
| generate_compliance_prompts.py | ||
| lint-budget-lib.mjs | ||
| update-lint-metrics.mjs | ||