mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2026-06-30 15:09:40 +02:00
Add wikipedia.org to linkinator exclusion list due to regular HTTP 429 responses, remove "en." prefix from all Wikipedia links, switch Checkers workflow from linkinator-action to linkinator.
This commit is contained in:
@@ -15,10 +15,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: JustinBeckwith/linkinator-action@v2
|
||||
with:
|
||||
paths: '*.md'
|
||||
timeout: 60000
|
||||
- run: 'npx linkinator "*.md" --directory-listing --skip "^https://wikipedia.org/"'
|
||||
|
||||
spellcheck:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@ incorporate code from other projects is not allowed.
|
||||
|
||||
Thank you!
|
||||
|
||||
[example-com]: https://en.wikipedia.org/wiki/Example.com
|
||||
[example-com]: https://wikipedia.org/wiki/Example.com
|
||||
[github-issues]: https://github.com/DavidAnson/markdownlint-cli2/issues
|
||||
[linking-pull-request]: https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword
|
||||
[version-pinning]: https://dlaa.me/blog/post/versionpinning
|
||||
|
||||
Vendored
+1
-1
@@ -77234,7 +77234,7 @@ function charFromCodepoint(c) {
|
||||
return String.fromCharCode(c);
|
||||
}
|
||||
// Encode UTF-16 surrogate pair
|
||||
// https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF
|
||||
// https://wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF
|
||||
return String.fromCharCode(
|
||||
((c - 0x010000) >> 10) + 0xD800,
|
||||
((c - 0x010000) & 0x03FF) + 0xDC00
|
||||
|
||||
Reference in New Issue
Block a user