Skip to content

Commit 9dc8b5d

Browse files
committed
tweak error conditions for lighthouse
1 parent c34b435 commit 9dc8b5d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lighthouserc.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
"uses-text-compression": "off",
1313
"render-blocking-resources": "off",
1414
"uses-rel-preload": "off",
15-
"first-contentful-paint": ["warn", {"minScore": 0.8}],
15+
"first-contentful-paint": ["error", {"maxNumbericValue": 1000}],
1616
"first-meaningful-paint": ["warn", {"minScore": 0.8}],
1717
"largest-contentful-paint": ["warn", {"minScore": 0.8}],
18-
"deprecations": "off"
18+
"deprecations": "off",
19+
"csp-xss": "off"
1920
}
2021
},
2122
"upload": {

0 commit comments

Comments
 (0)