зеркало из https://github.com/github/docs.git
format excluded links for use in regex
This commit is contained in:
Родитель
dfda276317
Коммит
018b1316bf
|
@ -1,8 +1,8 @@
|
|||
// Linkinator treats the following as regex.
|
||||
module.exports = [
|
||||
// Skip GitHub search links.
|
||||
'https://github.com/search?.*',
|
||||
'https://github.com/github/gitignore/search?',
|
||||
'https://github.com/search\\?',
|
||||
'https://github.com/github/gitignore/search\\?',
|
||||
|
||||
// These links require auth.
|
||||
'https://github.com/settings/profile',
|
||||
|
@ -15,6 +15,6 @@ module.exports = [
|
|||
|
||||
// Oneoff links that link checkers think are broken but are not.
|
||||
'https://haveibeenpwned.com/',
|
||||
'https://www.ilo.org/dyn/normlex/en/f?p=NORMLEXPUB:12100:0::NO::P12100_ILO_CODE:P029',
|
||||
'https://www.ilo.org/dyn/normlex/en/f\\?p=NORMLEXPUB:12100:0::NO::P12100_ILO_CODE:P029',
|
||||
'http://www.w3.org/wiki/LinkHeader/'
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче