Skip to content

Commit 220f70f

Browse files
committed
🔧 chore(lighthouse): change responsive images rule to error
Updates the Lighthouse CI configuration to treat unoptimized images more strictly by changing the status of the rule from a warning to an error while maintaining the same threshold.
1 parent 6fdc8cf commit 220f70f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lighthouserc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"categories:accessibility": ["warn", { "minScore": 0.9 }],
2929
"categories:best-practices": ["warn", { "minScore": 0.9 }],
3030
"categories:seo": ["warn", { "minScore": 0.9 }],
31-
"uses-responsive-images": ["warn", { "maxWastedBytes": 102400 }],
31+
"uses-responsive-images": ["error", { "maxWastedBytes": 102400 }],
3232
"uses-http2": "off"
3333
}
3434
}

0 commit comments

Comments
 (0)