U6: Lighthouse performance in CI alleen waarschuwen (Pi te traag), eigenaarsbesluit vastgelegd
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
+7
-1
@@ -12,7 +12,13 @@ module.exports = {
|
||||
},
|
||||
assert: {
|
||||
assertions: {
|
||||
'categories:performance': ['error', { minScore: 0.9 }],
|
||||
// Eigenaarsbesluit 2026-11-14: op de Pi-runner is de meting te traag (mobiel 0,54, lokaal
|
||||
// 0,90), dus performance wordt in CI alleen gerapporteerd (LIGHTHOUSE_PERFORMANCE=warn).
|
||||
// Lokaal blijft het een harde gate (standaard 'error').
|
||||
'categories:performance': [
|
||||
process.env.LIGHTHOUSE_PERFORMANCE ?? 'error',
|
||||
{ minScore: 0.9 },
|
||||
],
|
||||
'categories:accessibility': ['error', { minScore: 0.9 }],
|
||||
'categories:best-practices': ['error', { minScore: 0.9 }],
|
||||
'categories:seo': ['error', { minScore: 0.9 }],
|
||||
|
||||
Reference in New Issue
Block a user