chore: fix remaining lint errors #25
Labels
No labels
blocked:lint-failed
blocked:needs-decision
blocked:no-changes
blocked:verify-failed
bug
feature-request
needs-triage
ops-task
quickfix
security/high
test-coverage
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/compose_dash#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lint Errors (7 errors, not auto-fixable)
npm run lint --fixwas attempted but could not resolve any errors. The following errors remain:Errors (7)
src/App.tsx:61— react-hooks/set-state-in-effect: CallingfetchSystemInfo()sets state synchronously within an effectsrc/components/SSHKeyManager.tsx:53— react-hooks/set-state-in-effect: CallingfetchKeys()sets state synchronously within an effectsrc/sections/CloudDeploy.tsx:241— react-hooks/set-state-in-effect: CallingfetchConfigs()sets state synchronously within an effectsrc/sections/HostManager.tsx:75— react-hooks/set-state-in-effect: CallingfetchHosts()sets state synchronously within an effectsrc/sections/ServiceManager.tsx:83— react-hooks/set-state-in-effect: CallingfetchContainers()sets state synchronously within an effectsrc/sections/ServiceManager.tsx:93— react-hooks/set-state-in-effect: CallingsetFilteredContainers()sets state synchronously within an effectsrc/sections/SnapshotManager.tsx:108— react-hooks/set-state-in-effect: CallingfetchSnapshots()sets state synchronously within an effectWarnings (7, not blocking)
Auto-fix attempted
Command:
npx eslint . --fixResult: No errors were auto-fixable. Manual fixes required.
Rule
react-hooks/set-state-in-effect— Effects should synchronize state between React and external systems. Move state-setting logic outside effects or use event handlers.