-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlighthouserc.json
More file actions
41 lines (41 loc) · 1.55 KB
/
lighthouserc.json
File metadata and controls
41 lines (41 loc) · 1.55 KB
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
{
"ci": {
"collect": {
"startServerCommand": "npm run start",
"startServerReadyPattern": "started server on",
"url": [
"http://localhost:3000/",
"http://localhost:3000/about",
"http://localhost:3000/blog",
"http://localhost:3000/blog/i-think-im-becoming-a-cracked-engineer",
"http://localhost:3000/organizations/slack",
"http://localhost:3000/contact"
],
"numberOfRuns": 3
},
"assert": {
"preset": "lighthouse:no-pwa",
"assertions": {
"categories:performance": ["error", { "minScore": 0.9 }],
"categories:accessibility": ["error", { "minScore": 0.9 }],
"categories:best-practices": ["error", { "minScore": 0.9 }],
"categories:seo": ["error", { "minScore": 0.95 }],
"color-contrast": ["warn", { "minScore": 1 }],
"errors-in-console": ["warn", { "minScore": 1 }],
"heading-order": ["warn", { "minScore": 1 }],
"image-redundant-alt": ["warn", { "minScore": 1 }],
"unsized-images": ["warn", { "minScore": 1 }],
"redirects": ["warn", { "minScore": 1 }],
"image-delivery-insight": "off",
"legacy-javascript-insight": "off",
"network-dependency-tree-insight": "off",
"lcp-discovery-insight": "off",
"forced-reflow-insight": "off",
"document-latency-insight": "off",
"offscreen-images": ["warn", { "maxLength": 0 }],
"unused-javascript": ["warn", { "maxLength": 0 }],
"uses-responsive-images": ["warn", { "maxLength": 0 }]
}
}
}
}