Skip to content

Commit d5f8d5b

Browse files
committed
Align lychee config: add header and use double quotes
1 parent e1637fa commit d5f8d5b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/config/lychee.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Lychee configuration file
2+
# See https://lychee.cli.rs/config/
3+
14
timeout = 30
25
retry_wait_time = 5
36
max_retries = 6
@@ -8,11 +11,11 @@ include_fragments = true
811

912
remap = [
1013
# workaround for https://github.com/lycheeverse/lychee/issues/1729
11-
'https://github.com/(.*?)/(.*?)/blob/(.*?)/(.*#.*)$ https://raw.githubusercontent.com/$1/$2/$3/$4',
14+
"https://github.com/(.*?)/(.*?)/blob/(.*?)/(.*#.*)$ https://raw.githubusercontent.com/$1/$2/$3/$4",
1215
]
1316

1417
# excluding links to pull requests and issues is done for performance
1518
exclude = [
16-
'^https://github.com/open-telemetry/opentelemetry-java/(issues|pull)/\d+$',
17-
'^https://www.javadoc.io/badge/(.*?)/(.*?).svg$', # returns 522
19+
"^https://github.com/open-telemetry/opentelemetry-java/(issues|pull)/\\d+$",
20+
"^https://www.javadoc.io/badge/(.*?)/(.*?).svg$", # returns 522
1821
]

0 commit comments

Comments
 (0)