From 6903c7dde337b2eee9efde697213ad112aa66eba Mon Sep 17 00:00:00 2001 From: Barcode Betty Date: Mon, 30 Mar 2026 19:43:05 +0000 Subject: [PATCH] fix(lighthouse): use warn for preset audit assertions + add robots.txt Per CTO guidance, override preset per-audit assertions to warn: - errors-in-console: warn (browser dev errors, not prod blockers) - network-dependency-tree-insight: warn (existing perf debt) - robots-txt: warn (existing SEO gap) - unused-javascript: warn (existing perf debt) Add public/robots.txt so the robots-txt audit passes at warn level. These are known gaps to address post-merge, not merge blockers. Co-Authored-By: Paperclip --- lighthouserc.json | 6 +++++- public/robots.txt | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 public/robots.txt diff --git a/lighthouserc.json b/lighthouserc.json index 76ac313..06b3806 100644 --- a/lighthouserc.json +++ b/lighthouserc.json @@ -11,7 +11,11 @@ "categories:performance": ["warn", { "minScore": 0.5 }], "categories:accessibility": ["error", { "minScore": 0.7 }], "categories:best-practices": ["warn", { "minScore": 0.8 }], - "categories:seo": ["warn", { "minScore": 0.7 }] + "categories:seo": ["warn", { "minScore": 0.7 }], + "errors-in-console": ["warn"], + "network-dependency-tree-insight": ["warn"], + "robots-txt": ["warn"], + "unused-javascript": ["warn"] } }, "upload": { diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..f1384ca --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://cartsnitch.com/sitemap.xml