Skip to content

Commit 0e15e43

Browse files
mountinycursoragent
andcommitted
Restore SearchPage.tsx react-hooks/refs seatbelt entry after revert
PR #88728 eliminated 31 react-hooks/refs violations in src/pages/Search/SearchPage.tsx by switching from useState to useRef moved into a useEffect, and the Auto-tighten eslint-seatbelt baseline job removed the corresponding seatbelt entry in d791c21. The revert in #89723 reintroduced those 31 violations but did not restore the seatbelt entry, so lint now fails on main and blocks deploys. eslint-seatbelt only auto-tightens, never auto-loosens, so it cannot self-heal after a revert. Restoring the deleted line unblocks main. When PR #88728 is re-rolled the auto-tighten job will remove this line again. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 57c3dce commit 0e15e43

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

config/eslint/eslint.seatbelt.tsv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@
477477
"../../src/pages/ScheduleCall/ScheduleCallPage.tsx" "react-hooks/preserve-manual-memoization" 1
478478
"../../src/pages/Search/SearchAdvancedFiltersPage/SearchFiltersCardPage.tsx" "react-hooks/set-state-in-effect" 1
479479
"../../src/pages/Search/SearchMoneyRequestReportPage.tsx" "@typescript-eslint/no-deprecated/InteractionManager.runAfterInteractions" 1
480+
"../../src/pages/Search/SearchPage.tsx" "react-hooks/refs" 31
480481
"../../src/pages/Search/SearchPage.tsx" "react-hooks/set-state-in-effect" 1
481482
"../../src/pages/Search/SearchTransactionsChangeReport.tsx" "@typescript-eslint/no-deprecated/InteractionManager.runAfterInteractions" 1
482483
"../../src/pages/Share/ShareRootPage.tsx" "@typescript-eslint/no-deprecated/InteractionManager.runAfterInteractions" 1

0 commit comments

Comments
 (0)