mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-03 07:23:33 +00:00
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> #43409 landed three four-condition boolean chains in KeyActivityPanel.tsx, putting local/no-long-condition-chain at 197 against a max of 196, so frontend-lint fails on every PR that touches the dashboard. Name the shared isFiltering && !searching and localOnly && pageRows.length === 0 sub-expressions so each remaining chain has three conditions, and ratchet the max down to the new count of 194. Co-authored-by: yassin <yassin@berri.ai>
11 lines
548 B
JSON
11 lines
548 B
JSON
{
|
|
"@typescript-eslint/no-explicit-any": { "max": 2040, "target": 1500 },
|
|
"no-console": { "max": 12, "target": 0 },
|
|
"complexity": { "max": 140, "target": 80 },
|
|
"max-depth": { "max": 70, "target": 30 },
|
|
"local/no-large-inline-object-arg": { "max": 551, "target": 300 },
|
|
"local/no-long-condition-chain": { "max": 194, "target": 120 },
|
|
"testing-library/no-container": { "max": 133, "target": 50 },
|
|
"testing-library/no-node-access": { "max": 707, "target": 500 },
|
|
"testing-library/prefer-screen-queries": { "max": 18, "target": 18 }
|
|
}
|