From 9dc8b5db0adb98452dec23680dbcad8f27820acb Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 19 May 2022 10:39:23 +0100 Subject: [PATCH] tweak error conditions for lighthouse --- lighthouserc.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lighthouserc.json b/lighthouserc.json index c86a765..62c1b17 100644 --- a/lighthouserc.json +++ b/lighthouserc.json @@ -12,10 +12,11 @@ "uses-text-compression": "off", "render-blocking-resources": "off", "uses-rel-preload": "off", - "first-contentful-paint": ["warn", {"minScore": 0.8}], + "first-contentful-paint": ["error", {"maxNumbericValue": 1000}], "first-meaningful-paint": ["warn", {"minScore": 0.8}], "largest-contentful-paint": ["warn", {"minScore": 0.8}], - "deprecations": "off" + "deprecations": "off", + "csp-xss": "off" } }, "upload": {