-
Notifications
You must be signed in to change notification settings - Fork 113
/
lychee.toml
46 lines (35 loc) · 1.29 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
# 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 = [
# returns 403 when accessed from GitHub Action
'stackoverflow\.com',
'stackexchange\.com',
# Ignore all URLs with '$' - BASH variable in URL
'\$',
# Ignore all URLs with '{ ... }' - BASH / Ansible variable in URL
'%7B.*%7D',
# Ignore all URLs which starts with 'file://'
'file://',
]
# Exclude these filesystem paths from getting checked
exclude_path = [
"CHANGELOG.md",
"package-lock.json",
]
# Exclude all private IPs from checking.
# Equivalent to setting `exclude_private`, `exclude_link_local`, and
# `exclude_loopback` to true
exclude_all_private = true