2023-09-19 20:22:20 +00:00
|
|
|
# Cache the results of Lychee if ran locally in order to minimise the chance of rate limiting
|
|
|
|
cache = true
|
|
|
|
# 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]
|
2023-10-02 14:28:28 +00:00
|
|
|
# retry
|
|
|
|
max_retries = 6
|
2023-09-19 20:22:20 +00:00
|
|
|
# Explicitly exclude some URLs
|
|
|
|
exclude = [
|
|
|
|
"https://twitter.nuxt.dev/",
|
|
|
|
"https://github.com/nuxt/translations/discussions/4",
|
2024-02-25 10:08:46 +00:00
|
|
|
"https://stackoverflow.com/help/minimal-reproducible-example",
|
2024-03-05 10:32:13 +00:00
|
|
|
# single-quotes are required for regexp
|
|
|
|
'(https?:\/\/github\.com\/)(.*\/)(generate)',
|
2023-09-19 20:22:20 +00:00
|
|
|
]
|