-
Notifications
You must be signed in to change notification settings - Fork 0
/
lighthouserc.yml
23 lines (23 loc) · 937 Bytes
/
lighthouserc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ci:
collect:
# We warm the cache, so doing multiple runs only serves to slow down the process
numberOfRuns: 1
url:
- http://localhost:3000/
puppeteerScript: warm-cache.js
assert:
preset: lighthouse:no-pwa
assertions:
csp-xss: 'warn'
# While it may have an effect, LH doesn't consider this assertion crticial so long as the LCP is within a reasonable amount of time
uses-responsive-images: 'warn'
# Some links in running texts are identical, but serve a different purpose from the "visit" link that each project card has
identical-links-same-purpose: 'warn'
# I can't find the issue and the report doesn't include which elements
target-size: 'warn'
# Unavoidable with next.js
total-byte-weight: 'warn'
upload:
target: filesystem
outputDir: lighthouse
reportFilenamePattern: martijnhols.nl-%%PATHNAME%%-%%DATETIME%%.report.%%EXTENSION%%