Repository navigation
ci(ui): frontend-lint job enforcing prettier + eslint on changed files #29633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ryan-crabbe-berri
merged 13 commits into
litellm_internal_staging
from
litellm_ui_frontend_lint_changed_files
Jun 4, 2026
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
e180ac9
ci(ui): add frontend-lint job enforcing prettier and eslint on change…
ryan-crabbe-berri 827024a
ci(ui): write frontend-lint file lists to $RUNNER_TEMP
ryan-crabbe-berri c8bb6e5
lint(ui): baseline existing eslint findings so only new ones block
ryan-crabbe-berri e387111
lint(ui): enforce a count budget for explicit any
ryan-crabbe-berri ee771d2
lint(ui): enable zero-cost rules no-var, no-self-assign, react/no-danger
ryan-crabbe-berri fe8297a
lint(ui): add baselined complexity rules
ryan-crabbe-berri e5e74ac
lint(ui): ban new raw fetch, standardize on React Query
ryan-crabbe-berri fe0f40a
lint(ui): ban new @tremor/react imports
ryan-crabbe-berri d4eb0eb
lint(ui): widen explicit-any budget headroom to 2040
ryan-crabbe-berri 39be14a
style(ui): prettier-format eslint.config.mjs
ryan-crabbe-berri fa51130
lint(ui): soften complexity and max-depth to warnings
ryan-crabbe-berri fd65a48
lint(ui): move complexity and max-depth to the count-budget pattern
ryan-crabbe-berri b3c0208
docs(ui): note pruning the eslint suppressions baseline when fixing l…
ryan-crabbe-berri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,4 +8,5 @@ build | |
| .turbo | ||
| .next-static | ||
| *.min.js | ||
| coverage/ | ||
| coverage/ | ||
| eslint-suppressions.json | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,3 @@ | ||
| Never put LiteLLM tokens or API keys in `localStorage`. `localStorage` survives browser close. Prefer `httpOnly` cookies, or `sessionStorage` at most, understanding that any web storage is readable by injected scripts (XSS), and only httpOnly cookies are not | ||
|
|
||
| When you fix lint violations that are grandfathered in `eslint-suppressions.json`, run `eslint . --prune-suppressions` and commit the updated baseline so the gate ratchets down instead of leaving a stale suppression | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "@typescript-eslint/no-explicit-any": { "max": 2040, "target": 1500 }, | ||
| "complexity": { "max": 140, "target": 80 }, | ||
| "max-depth": { "max": 70, "target": 30 } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nested claude. Noice