From ba866b052f3e194594a7002c7e8ad8c59d8ee2c9 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 6 Jun 2021 22:32:11 +0200 Subject: [PATCH] normalize lighthouse config --- .lighthouserc.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.lighthouserc.yml b/.lighthouserc.yml index dacb76c..19d43ec 100644 --- a/.lighthouserc.yml +++ b/.lighthouserc.yml @@ -1,7 +1,7 @@ --- ci: collect: - numberOfRuns: 2 + numberOfRuns: 3 staticDistDir: exampleSite/public url: - http://localhost/ @@ -15,12 +15,19 @@ ci: preset: "lighthouse:no-pwa" assertions: uses-long-cache-ttl: off - render-blocking-resources: off - tap-targets: off - first-contentful-paint: off - first-meaningful-paint: off - largest-contentful-paint: off csp-xss: off + tap-targets: warn + unsized-images: warn + # FIXME: https://github.com/GoogleChrome/lighthouse/issues/11460 + categories:performance: + - warn + - minScore: 0.95 + categories:accessibility: + - error + - minScore: 1 + categories:seo: + - error + - minScore: 0.95 upload: target: filesystem outputDir: lhci_reports