1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 15:08:27 -04:00
jarv.is/.lighthouserc.json

40 lines
1.0 KiB
JSON

{
"ci": {
"collect": {
"numberOfRuns": 3,
"settings": {
"preset": "desktop",
"chromeFlags": "--no-sandbox"
}
},
"assert": {
"preset": "lighthouse:no-pwa",
"assertions": {
"color-contrast": "warn",
"csp-xss": "warn",
"link-text": "warn",
"long-tasks": "warn",
"total-byte-weight": ["warn", {"minScore": 0.9}],
"unminified-css": "warn",
"unminified-javascript": "warn",
"unsized-images": "warn",
"unused-css-rules": "warn",
"unused-javascript": "warn",
"uses-optimized-images": "warn",
"uses-rel-preconnect": "warn",
"canonical": "off",
"is-crawlable": "off",
"modern-image-formats": "off",
"offscreen-images": "off",
"uses-long-cache-ttl": "off",
"uses-responsive-images": "off"
},
"includePassedAssertions": true
},
"upload": {
"target": "lhci",
"serverBaseUrl": "https://lhci.jrvs.io"
}
}
}