Add a linter: the React rules the code relies on are not checked by anything

Aperta
#234 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
eslint, javascript, react

Direzione di ricerca

Start by checking the package scripts and dependencies to see how npm run verify is assembled; the issue does not name their file paths. Add ESLint with React Hooks and accessibility checks, then review the reported findings, including the label associations and mouse-only controls described here. Done when npm run verify runs the linter and passes.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

ci enhancement

Found in the 2026-11-29 whole-repo review. Reported by a reviewer; no lint config found in the repo.

Problem

There is no ESLint config or dependency. Five // eslint-disable-next-line react-hooks/exhaustive-deps comments suppress a rule that never runs. The code is heavy on effects (map listeners, polling, form re-seeding), where stale-value bugs are easy to introduce and hard to spot in review.

Suggested fix

Add ESLint with the React hooks and accessibility plugins and run it as part of npm run verify. Fix or explicitly justify what it reports. (Accessibility findings from the review to expect: 41 of 141 form labels are not connected to their inputs; the search page's collection chips and the extension panel toggle are mouse-only; dashboard connection health is shown by colour alone.)

Acceptance criteria

  • npm run verify runs the linter and passes
Lingua principale
Python
Stelle
0
Fork
2
Merge medio
8h 26m
PR unite (30g)
47

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TechTraverse/stac-higher

Tutte le issue di TechTraverse/stac-higher

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.