Fix ESLint errors to pass CI #7
Annotations
1 error and 10 warnings
|
test
Process completed with exit code 127.
|
|
lint-and-build:
src/contexts/GamificationContext.jsx#L16
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
lint-and-build:
src/contexts/GamificationContext.jsx#L7
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
lint-and-build:
src/contexts/AuthContext.jsx#L12
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
lint-and-build:
src/components/UpcomingMeetings.jsx#L69
React Hook useEffect has a missing dependency: 'fetchMeetings'. Either include it or remove the dependency array
|
|
lint-and-build:
src/components/TaxCalculator.jsx#L156
React Hook useMemo has a missing dependency: 'calculateTax'. Either include it or remove the dependency array
|
|
lint-and-build:
src/components/PomodoroTimer.jsx#L46
React Hook useEffect has a missing dependency: 'setStats'. Either include it or remove the dependency array
|
|
lint-and-build:
src/components/Notes.jsx#L36
The 'notes' logical expression could make the dependencies of useMemo Hook (at line 69) change on every render. To fix this, wrap the initialization of 'notes' in its own useMemo() Hook
|
|
lint-and-build:
src/components/Navigation/Sidebar.jsx#L100
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
lint-and-build:
src/components/Dashboard/widgets/MeetingsWidget.jsx#L13
React Hook useEffect has a missing dependency: 'fetchNextMeeting'. Either include it or remove the dependency array
|
|
lint-and-build:
src/components/AttendanceTracker.jsx#L108
React Hook useEffect has missing dependencies: 'setAttendance' and 'todayRecord?.checkIn'. Either include them or remove the dependency array
|