Skip to content

Commit 3afb204

Browse files
committed
♿️ access: update lighthouse thresholds in configuration
Changed assertions from warnings to errors for better enforcement across all key categories. Increased the performance threshold from 0.6 to 0.7 to ensure higher quality standards.
1 parent be299b5 commit 3afb204

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lighthouserc.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
},
2525
"assert": {
2626
"assertions": {
27-
"categories:performance": ["warn", { "minScore": 0.6 }],
28-
"categories:accessibility": ["warn", { "minScore": 0.9 }],
29-
"categories:best-practices": ["warn", { "minScore": 0.9 }],
30-
"categories:seo": ["warn", { "minScore": 0.9 }],
27+
"categories:performance": ["error", { "minScore": 0.7 }],
28+
"categories:accessibility": ["error", { "minScore": 0.9 }],
29+
"categories:best-practices": ["error", { "minScore": 0.9 }],
30+
"categories:seo": ["error", { "minScore": 0.9 }],
3131
"uses-responsive-images": ["error", { "maxWastedBytes": 102400 }],
3232
"uses-http2": "off"
3333
}

0 commit comments

Comments
 (0)