-
Notifications
You must be signed in to change notification settings - Fork 4
/
lighthouserc.json
52 lines (52 loc) · 1.59 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"ci": {
"collect": {
"numberOfRuns": 5
},
"assert": {
"preset": "lighthouse:recommended",
"assertions": {
"viewport": "error",
"first-contentful-paint": [
"error",
{ "maxNumericValue": 2000, "aggregationMethod": "optimistic" }
],
"interactive": [
"error",
{ "maxNumericValue": 2000, "aggregationMethod": "optimistic" }
],
"max-potential-fid": "off",
"total-blocking-time": ["error", { "maxNumericValue": 199 }],
"cumulative-layout-shift": [
"error",
{ "maxNumericValue": 0, "aggregationMethod": "optimistic" }
],
"categories:performance": [
"error",
{ "minScore": 1, "aggregationMethod": "optimistic" }
],
"categories:accessibility": [
"error",
{ "minScore": 1, "aggregationMethod": "optimistic" }
],
"resource-summary:script:size": ["error", { "maxNumericValue": 50000 }],
"resource-summary:total:size": ["error", { "maxNumericValue": 300000 }],
"resource-summary:font:count": ["error", { "maxNumericValue": 0 }],
"resource-summary:third-party:count": [
"error",
{ "maxNumericValue": 0 }
],
"installable-manifest": "off",
"is-crawlable": "off",
"maskable-icon": "off",
"works-offline": "off",
"service-worker": "off",
"splash-screen": "off",
"themed-omnibox": "off",
"offline-start-url": "off",
"csp-xss": "off",
"canonical": "off"
}
}
}
}