Skip to content

Add ESLint and Prettier to frontend with full codebase reformat#24

Merged
gauthierpiarrette merged 1 commit intomainfrom
chore/frontend-eslint-prettier
Feb 19, 2026
Merged

Add ESLint and Prettier to frontend with full codebase reformat#24
gauthierpiarrette merged 1 commit intomainfrom
chore/frontend-eslint-prettier

Conversation

@gauthierpiarrette
Copy link
Owner

What

Add ESLint, Prettier, and eslint-plugin-svelte to the frontend and reformat the
entire codebase to enforce consistent style. A new CI step runs npm run lint
on every push and PR so formatting and lint violations are caught automatically.

Why

The frontend had no linting or formatting tooling. Code style was inconsistent
across components (trailing commas, quote style, line length, attribute wrapping).
The Python backend already enforces style via Ruff; the frontend now has parity.

How to test

Run cd frontend && npm run lint and verify it exits cleanly with no errors.
Run cd frontend && npm test and verify all tests still pass.

Checklist

  • cd frontend && npm run lint passes (ESLint + Prettier)
  • cd frontend && npm test passes
  • No functional changes to any component
  • CI updated to run frontend lint step

@gauthierpiarrette gauthierpiarrette merged commit 4be71a6 into main Feb 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant