Frontend tooling + Linter pass + React rule enforcement (#886)

- Added `oxlint`, `oxfmt`, `vitest`, `knip`
- Configured oxlint rules including react best practices (e.g. for
effect usage)
- Full linting pass on frontend code
- Full react rules pass on effect usage
- Full reformatting using oxfmt
- Full dead code cleanup using knip
This commit is contained in:
Alex
2026-04-13 10:56:09 +01:00
committed by GitHub
parent 87d5f127d6
commit a7694eb8ad
201 changed files with 16226 additions and 10520 deletions
+9 -1
View File
@@ -112,7 +112,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 20
node-version: 24
cache: "npm"
cache-dependency-path: src/frontend/package-lock.json
@@ -120,6 +120,14 @@ jobs:
working-directory: src/frontend
run: npm ci
- name: Lint
working-directory: src/frontend
run: npm run lint
- name: Check formatting
working-directory: src/frontend
run: npm run format:check
- name: Typecheck
working-directory: src/frontend
run: npm run typecheck