-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlychee.toml
55 lines (44 loc) · 1.53 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# https://lychee.cli.rs/#/usage/config
############################# Cache ###############################
# Enable link caching. This can be helpful to avoid checking the same links on
# multiple runs
cache = true
# Discard all cached requests older than this duration
max_cache_age = "1d"
############################# Runtime #############################
# Maximum number of concurrent link checks
max_concurrency = 128
############################# Requests ############################
# Comma-separated list of accepted status codes for valid links.
accept = [999]
############################# Exclusions ##########################
# Exclude URLs and mail addresses from checking (supports regex)
exclude = [
# keep-sorted start
# Ignore all URLs with '{ ... }' - BASH / Ansible variable in URL
'%7B.*%7D',
# Ignore all URLs with '$' - BASH variable in URL
'\$',
'analytics\.eu\.umami\.is/',
'cdn\.com',
# Ignore all URLs which starts with 'file://'
'file://',
'fonts\.(googleapis|gstatic)\.com',
'mylabs\.dev',
'stackexchange\.com',
'stackoverflow\.com',
'username\.github\.io',
'www\.facebook\.com/sharer/sharer\.php\?title=TITLE&u=URL',
'www\.googletagmanager\.com',
'www\.threads\.net/intent/post',
# keep-sorted end
]
# Exclude these filesystem paths from getting checked
exclude_path = [
"CHANGELOG.md",
"_tabs/projects.md",
]
# Exclude all private IPs from checking.
# Equivalent to setting `exclude_private`, `exclude_link_local`, and
# `exclude_loopback` to true
exclude_all_private = true