Nuxt/lychee.toml

37 lines
1.3 KiB
TOML
Raw Normal View History

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
# Discard all cached requests older than this duration.
max_cache_age = "1d"
2023-09-19 20:22:20 +00:00
# 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
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",
"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",
2024-03-05 10:32:13 +00:00
# single-quotes are required for regexp
'(https?:\/\/github\.com\/)(.*\/)(generate)',
2024-09-25 19:24:12 +00:00
"https://github.com/nuxt-contrib/vue3-ssr-starter/generate",
2023-09-19 20:22:20 +00:00
]