forked from GoogleChrome/lighthouse-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lighthouserc.json
39 lines (36 loc) · 1008 Bytes
/
lighthouserc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"ci": {
"assert": {
"preset": "lighthouse:recommended",
"assertions": {
"dom-size": ["error", {"maxNumericValue": 3000}],
"uses-rel-preload": "off",
"uses-responsive-images": "off",
"uses-rel-preconnect": "off",
"font-display": "off",
"offscreen-images": "off",
"meta-description": "off",
"listitem": "off",
"label": "off",
"html-has-lang": "off",
"content-width": "off",
"color-contrast": "off",
"bypass": "off",
"tap-targets": "off",
"installable-manifest": "off",
"offline-start-url": "off",
"service-worker": "off",
"splash-screen": "off",
"themed-omnibox": "off",
"works-offline": "off"
}
},
"upload": {
"urlReplacementPatterns": [
"s/[0-9a-f]{12}$/HASH/",
"s#:[0-9]{3,5}/#:PORT/#",
"s/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/UUID/ig"
]
}
}
}