Add ESLint for TypeScript/React linting

- Install eslint, typescript-eslint, eslint-plugin-react-hooks
- Configure eslint.config.js with flat config format
- Add type: module to package.json
- Fix unused variable issues (prefix with underscore)
- Add Makefile targets: lint-frontend, fix-frontend
This commit is contained in:
counterweight 2025-12-21 21:58:41 +01:00
parent 30583805cd
commit 4b394b0698
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
12 changed files with 1467 additions and 16 deletions

View file

@ -357,7 +357,7 @@ test.describe("Profile - Unauthenticated Access", () => {
await expect(page).toHaveURL("/login");
});
test("profile API requires authentication", async ({ page, request }) => {
test("profile API requires authentication", async ({ page: _page, request }) => {
const response = await request.get(`${API_URL}/api/profile`);
expect(response.status()).toBe(401);
});