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

Open
#234 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
eslint, javascript, react

Research direction

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.

Written by the indexing model from the issue text.

Description

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
Dominant language
Python
Stars
0
Forks
2
Avg merge
8h 26m
Merged PRs (30d)
47

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TechTraverse/stac-higher

All issues in TechTraverse/stac-higher

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.