From 7dea4538213074684bd5a4650102104f6ba3023c Mon Sep 17 00:00:00 2001 From: Eva Decker Date: Sat, 22 Jun 2024 09:37:02 -0400 Subject: [PATCH] Edit assertions --- lighthouserc.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lighthouserc.json b/lighthouserc.json index c56c9e8..fa48dba 100644 --- a/lighthouserc.json +++ b/lighthouserc.json @@ -1,7 +1,13 @@ { "ci": { "assert": { - "preset": "lighthouse:recommended" + "preset": "lighthouse:recommended", + "assertions": { + "uses-optimized-images": "off", + "uses-responsive-images": "off", + "modern-image-formats": "off", + "uses-long-cache-ttl": ["warn", { "minScore": 0 }] + } }, "collect": { "startServerCommand": "pnpm build && pnpm preview --port 3000",