-
Notifications
You must be signed in to change notification settings - Fork 322
Expand file tree
/
Copy path.lighthouserc.yaml
More file actions
76 lines (76 loc) · 2.13 KB
/
Copy path.lighthouserc.yaml
File metadata and controls
76 lines (76 loc) · 2.13 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
ci:
collect:
numberOfRuns: 3
staticDistDir: exampleSite/public
url:
- http://localhost/
- http://localhost/404.html
- http://localhost/usage/getting-started/
settings:
chromeFlags: "--no-sandbox --headless --disable-dev-shm-usage"
onlyCategories: ["performance", "accessibility", "best-practices", "seo"]
skipAudits:
[
"color-contrast",
"uses-long-cache-ttl",
"csp-xss",
"bf-cache",
"is-crawlable",
"image-size-responsive",
"render-blocking-resources",
"largest-contentful-paint",
"unused-css-rules",
"network-dependency-tree-insight",
"legacy-javascript",
"errors-in-console",
"max-potential-fid",
"interactive",
"dom-size",
"forced-reflow-insight",
"unused-javascript",
"cls-culprits-insight",
"cache-insight",
"render-blocking-insight"
]
assert:
preset: "lighthouse:no-pwa"
assertions:
color-contrast: off
uses-long-cache-ttl: off
csp-xss: off
# FIXME: https://github.com/GoogleChrome/lighthouse/issues/14957
bf-cache: off
is-crawlable: off
image-size-responsive: off
render-blocking-resources: off
largest-contentful-paint: off
unused-css-rules: off
network-dependency-tree-insight: off
cls-culprits-insight: off
cache-insight: off
render-blocking-insight: off
legacy-javascript: off
errors-in-console: off
max-potential-fid: off
interactive: off
dom-size: off
forced-reflow-insight: off
unused-javascript: off
total-byte-weight: warn
identical-links-same-purpose: warn
tap-targets: off
unsized-images: warn
# FIXME: https://github.com/GoogleChrome/lighthouse/issues/11460
categories:performance:
- warn
- minScore: 0.95
categories:accessibility:
- error
- minScore: 1
categories:seo:
- error
- minScore: 0.95
upload:
target: filesystem
outputDir: lhci_reports