-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.lychee.toml
More file actions
84 lines (59 loc) · 2.23 KB
/
.lychee.toml
File metadata and controls
84 lines (59 loc) · 2.23 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# lychee link checker configuration
# https://github.com/lycheeverse/lychee
############################# Display #############################
# Verbose program output
verbose = "warn"
# Don't show interactive progress bar while checking links
no_progress = false
############################# Cache ###############################
# Enable link caching to speed up repeated runs
cache = true
# Discard cached requests older than this duration
max_cache_age = "1d"
############################# Runtime #############################
# Maximum number of allowed redirects
max_redirects = 10
# Maximum number of retries before declaring a link dead
max_retries = 3
# Maximum concurrent link checks
max_concurrency = 16
############################# Requests ############################
# Website timeout from connect to response finished (seconds)
timeout = 30
# Minimum wait time in seconds between retries
retry_wait_time = 2
# Proceed for server connections considered insecure (invalid TLS)
insecure = false
# Request method (HEAD is faster, GET is more reliable)
method = "get"
############################# Exclusions ##########################
# Exclude URLs from checking (regex patterns)
exclude = [
# Placeholder/example URLs
"^https?://localhost",
"^https?://127\\.0\\.0\\.1",
"^https?://\\[::1\\]",
"^https?://example\\.(com|org|net)",
"^https://\\.\\.\\.", # Literal "https://..." placeholder
# URLs that require authentication or have rate limits
"^https?://cad\\.onshape\\.com", # Onshape API requires auth
# Packages not yet published (badges will 404/403 until first release)
"^https://www\\.npmjs\\.com/package/onshape-mcp",
"^https://crates\\.io/crates/onshape-mcp",
# URLs containing shell/template variables (not real URLs)
"\\$\\{", # Shell variables like ${VERSION}
"\\$%7B", # URL-encoded shell variables
]
# Exclude paths from checking (regex patterns)
exclude_path = [
# Exclude build artifacts
"^target/",
]
# Check these file extensions
extensions = ["md"]
# Enable fragment/anchor checking
include_fragments = true
# Exclude mail addresses from checking (avoid false positives)
include_mail = false
# Exclude all private IPs
exclude_all_private = true