-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I've recently started using hyperlink to validate my static sites internal links π - it works really well. But I've got some requests from real world usages that I'm going to file issues for.
Current Behavior
The output for hyperlink is not machine parseable, so its hard to wire up checks that may accept some known errors or inconsistencies. For example, I currently have a site that reports the following error output:
./dist/client/404.html
error: bad link /404
./dist/client/_redirects
error: bad link /roster/@slug/matches/1
Both of these resolve to known good files.
Expected Behaviour
It would be nice to be able to pass --ignore '/404' and/or --ignore-file ./dist/client/_redirects to exclude these files from checking since they each contain links that we know resolve once deployed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels