npm run lint in frontend/ still reports warnings even though the command exits successfully.
Current warnings:
src/hooks/useCachedData.js:103 and src/hooks/useCachedData.js:106
- React Hook dependency warning around
timeoutIdRef.current
- Missing dependency:
loadData
src/hooks/usePaginatedEvents.js:93
- Missing dependency:
loadPage
Why this matters:
- These warnings can hide stale closure or cleanup bugs.
- The repository should ideally keep lint output clean, especially for hook logic.
Expected result:
npm run lint should complete without warnings in the frontend workspace.
Notes:
- Please fix the hook dependency patterns directly rather than suppressing the warnings.
npm run lintinfrontend/still reports warnings even though the command exits successfully.Current warnings:
src/hooks/useCachedData.js:103andsrc/hooks/useCachedData.js:106timeoutIdRef.currentloadDatasrc/hooks/usePaginatedEvents.js:93loadPageWhy this matters:
Expected result:
npm run lintshould complete without warnings in the frontend workspace.Notes: