-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlychee.toml
36 lines (32 loc) · 1.25 KB
/
lychee.toml
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
# Cache the results of Lychee if ran locally in order to minimise the chance of rate limiting
cache = true
# Discard all cached requests older than this duration.
max_cache_age = "1d"
# Ignore all private link (such as localhost) to avoid errors
exclude_all_private = true
# HTTP status code: 429 (Too Many Requests) will also be treated as a valid link if Lychee gets rate limited
accept = [200, 429]
# Base URL or website root directory to check relative URLs.
base = "https://nuxt.com"
no_progress = true
# retry
max_retries = 6
# Explicitly exclude some URLs
exclude = [
"https://twitter.nuxt.dev/",
"https://github.com/nuxt/translations/discussions/4",
"https://stackoverflow.com/help/minimal-reproducible-example",
"https://gsap.com/",
# dummy example URLs
"https://myawesome-lib.js/",
"https://awesome-lib.js/",
"https://myawesome-lib.css/",
"https://awesome-lib.css/",
'https://www.npmjs.com/package/(.*)importName(.*)',
# TODO: address 404s (non-prerendered files?) from nuxt.com
"https://nuxt.com/docs/guide/going-further/modules",
"https://nuxt.com/docs/guide/directory-structure/pages",
# single-quotes are required for regexp
'(https?:\/\/github\.com\/)(.*\/)(generate)',
"https://github.com/nuxt-contrib/vue3-ssr-starter/generate",
]