From eadf475609c6412b5ad3686a9c0a2f274fd7c0aa Mon Sep 17 00:00:00 2001
From: Mariusz Banach
Date: Wed, 18 Feb 2026 00:55:51 +0100
Subject: [PATCH] MAESTRO: run prettier for phase 03 checklist
---
...-web-header-analyzer-Phase-03-Header-Input.md | 2 +-
frontend/src/__tests__/HeaderInput.test.tsx | 2 +-
frontend/src/app/page.tsx | 16 ++++++----------
frontend/src/components/FileDropZone.tsx | 6 +-----
frontend/src/components/HeaderInput.tsx | 5 +----
5 files changed, 10 insertions(+), 21 deletions(-)
diff --git a/Auto Run Docs/SpecKit-web-header-analyzer-Phase-03-Header-Input.md b/Auto Run Docs/SpecKit-web-header-analyzer-Phase-03-Header-Input.md
index 3d1ab71..d4ba29b 100644
--- a/Auto Run Docs/SpecKit-web-header-analyzer-Phase-03-Header-Input.md
+++ b/Auto Run Docs/SpecKit-web-header-analyzer-Phase-03-Header-Input.md
@@ -44,7 +44,7 @@ Note: `npx vitest run src/__tests__/AnalyseButton.test.tsx` passes; Vitest emits
- [x] Ctrl+Enter keyboard shortcut triggers the analyse action
- [x] Dark hacker theme is visible with correct colour palette
- [x] Validation shows user-friendly errors for empty and oversized input
-- [ ] `npx eslint src/` and `npx prettier --check src/` pass with zero errors
+- [x] `npx eslint src/` and `npx prettier --check src/` pass with zero errors
- [ ] Run `/speckit.analyze` to verify consistency
Note: Wired `FileDropZone` into the main page to populate the header input state on drop.
diff --git a/frontend/src/__tests__/HeaderInput.test.tsx b/frontend/src/__tests__/HeaderInput.test.tsx
index 0c6a239..8ca7e75 100644
--- a/frontend/src/__tests__/HeaderInput.test.tsx
+++ b/frontend/src/__tests__/HeaderInput.test.tsx
@@ -39,7 +39,7 @@ const getTextarea = (container: HTMLElement): HTMLTextAreaElement => {
};
const getAlert = (container: HTMLElement): HTMLElement | null =>
- container.querySelector("[role=\"alert\"]");
+ container.querySelector('[role="alert"]');
afterEach(() => {
while (cleanups.length > 0) {
diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx
index dea2b5e..6c91a15 100644
--- a/frontend/src/app/page.tsx
+++ b/frontend/src/app/page.tsx
@@ -46,12 +46,10 @@ export default function Home() {
Decode Suite
-
- Decode Spam Headers
-
+
Decode Spam Headers
- Paste SMTP headers or drop an EML/TXT file to reveal the
- anti-spam signals baked into your message path.
+ Paste SMTP headers or drop an EML/TXT file to reveal the anti-spam signals baked
+ into your message path.
@@ -63,12 +61,10 @@ export default function Home() {
-
- Ready To Analyse
-
+
Ready To Analyse
- Once input is provided, run the analysis to reveal scoring,
- heuristics, and delivery path insights.
+ Once input is provided, run the analysis to reveal scoring, heuristics, and
+ delivery path insights.