Skip to content

Commit 0bfe1b0

Browse files
committed
Re-added assert block
1 parent 8258136 commit 0bfe1b0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.lighthouserc.cjs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,27 @@ const config = {
1717
upload: {
1818
target: "temporary-public-storage",
1919
},
20+
assert: {
21+
assertions: {
22+
"service-worker": ["error", { minScore: 1 }],
23+
"installable-manifest": ["error", { minScore: 1 }],
24+
"maskable-icon": "off",
25+
"splash-screen": "off",
26+
viewport: "off",
27+
"content-width": "off",
28+
"themed-omnibox": "off",
29+
// Disable general categories you don't care about
30+
"errors-in-console": "off",
31+
"inspector-issues": "off",
32+
"link-in-text-block": "off",
33+
"third-party-cookies": "off",
34+
"target-size": "off",
35+
"first-contentful-paint": "off",
36+
interactive: "off",
37+
"largest-contentful-paint": "off",
38+
"uses-long-cache-ttl": "off",
39+
},
40+
},
2041
output: ["html"],
2142
outputPath: ".lighthouseci",
2243
},

0 commit comments

Comments
 (0)