Add SEO/security meta tags and favicon to frontend index.html
This commit is contained in:
@@ -542,7 +542,11 @@ Update `JailConfig` (and the corresponding `JailConfigUpdate` patch type) to use
|
||||
|
||||
---
|
||||
|
||||
### TASK-027 — Add missing ESLint rules
|
||||
### TASK-027 — Add missing ESLint rules (done)
|
||||
|
||||
**Where fixed:** `frontend/eslint.config.ts`, `frontend/package.json`, `frontend/package-lock.json`, `frontend/src/components/config/JailsTab.tsx`, `frontend/src/components/config/ActivateJailDialog.tsx`, `frontend/src/components/config/CreateActionDialog.tsx`, `frontend/src/components/config/CreateFilterDialog.tsx`, `frontend/src/components/config/CreateJailDialog.tsx`, `frontend/src/components/TopCountriesPieChart.tsx`, `frontend/src/components/config/RegexTesterTab.tsx`, `frontend/src/pages/jail/CodeList.tsx`
|
||||
|
||||
**Summary:** Added missing ESLint rules, installed `eslint-plugin-react`, and fixed the newly reported violations for array keys, floating promises, and hook dependencies in changed source files.
|
||||
|
||||
**Where found:** `frontend/eslint.config.ts` — only `react-hooks/recommended`, `no-explicit-any`, `explicit-function-return-type`, and `no-unused-vars` are enabled. Several important rules are absent.
|
||||
|
||||
@@ -566,7 +570,9 @@ Install `eslint-plugin-react` if not already present. Run `npm run lint` after e
|
||||
|
||||
---
|
||||
|
||||
### TASK-028 — Add security and SEO meta tags to `index.html`
|
||||
### TASK-028 — Add security and SEO meta tags to `index.html` (done)
|
||||
|
||||
**Summary:** Added favicon support and SEO/security meta tags to `frontend/index.html`.
|
||||
|
||||
**Where found:** `frontend/index.html` — the file contains only `charset`, `viewport`, and `title` meta tags.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user