brackt/app/hooks
Chris Parsons 13a36e6c41 Fix prefer-add-event-listener, no-unassigned-import, require-module-specifiers
Resolves all 9 remaining non-console lint warnings and promotes all
three rules to errors in .oxlintrc.json.

- prefer-add-event-listener: converted onchange/onclick/onload
  assignments to addEventListener in useDraftNotifications.ts and
  admin.data-sync.tsx; stored changeHandler ref for proper cleanup
  with removeEventListener
- no-unassigned-import: configured rule with allow list for legitimate
  side-effect imports (*.css, @testing-library/jest-dom,
  @testing-library/cypress/add-commands)
- require-module-specifiers: removed redundant `export {}` from
  cypress/support/e2e.ts (file already has an import)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-21 10:51:21 -07:00
..
__tests__ fix: guard against stale revalidation overwriting fresh socket data 2026-03-01 12:23:24 -08:00
useDraftNotifications.ts Fix prefer-add-event-listener, no-unassigned-import, require-module-specifiers 2026-03-21 10:51:21 -07:00
useDraftSocket.ts Add oxlint linting setup with zero errors (#194) 2026-03-21 09:44:05 -07:00
useMediaQuery.ts fix: eliminate queue tab flash on mobile by using useSyncExternalStore (#46) 2026-02-28 09:54:14 -08:00