From 24fc98b5073dde7ddc2f145b37142f14fb77526d Mon Sep 17 00:00:00 2001 From: Rossella Ferrandino <39148794+RossellaFer@users.noreply.github.com> Date: Thu, 25 Apr 2024 16:35:22 +0200 Subject: [PATCH] update scores thresholds --- lighthouserc.cjs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lighthouserc.cjs b/lighthouserc.cjs index 7a7c541..4609515 100644 --- a/lighthouserc.cjs +++ b/lighthouserc.cjs @@ -9,12 +9,12 @@ module.exports = { "http://localhost/" ] }, - asserts: { + assert: { assertions: { - 'categories:accessibility': ['warn', { minScore: 1 }], - 'categories:best-practices': ['warn', { minScore: 1.0 }], - 'categories:performance': ['warn', { minScore: 0.2 }], - 'categories:seo': ['warn', { minScore: 1.0 }], + 'categories:accessibility': ["error", { minScore: 0.9 }], + 'categories:best-practices': ["warn", { minScore: 0.8 }], + "categories:performance": ["error", {"minScore": 0.8}], + 'categories:seo': ["error", { minScore: 0.9 }], }, }, },