Skip to content

Commit

Permalink
Add more permissible origins
Browse files Browse the repository at this point in the history
  • Loading branch information
SamWilsn committed Jun 22, 2023
1 parent 2a60b1b commit 4c2b4f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion eipw-lint-js/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "eipw-lint-js"
version = "0.4.6"
version = "0.4.7"
edition = "2021"
license = "MPL-2.0"
rust-version = "1.65"
Expand Down
6 changes: 5 additions & 1 deletion eipw-lint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,11 @@ pub fn default_lints() -> impl Iterator<Item = (&'static str, Box<dyn Lint>)> {
("markdown-rel-links", markdown::RelativeLinks {
exceptions: &[
"^https://(www\\.)?github\\.com/ethereum/consensus-specs/(blob|commit)/[a-f0-9]{40}/.+$",
"^https://(www\\.)?github\\.com/ethereum/devp2p/(blob|commit)/[0-9a-f]{40}/.+$"
"^https://(www\\.)?github\\.com/ethereum/devp2p/(blob|commit)/[0-9a-f]{40}/.+$",
"^https://(www\\.)?github\\.com/bitcoin/bips/blob/[0-9a-f]{40}/bip-[0-9]+\\.mediawiki$",
"^https://www\\.w3\\.org/TR/[0-9][0-9][0-9][0-9]/.*$",
"^https://[a-z]*\\.spec\\.whatwg\\.org/commit-snapshots/[0-9a-f]{40}/$",
"^https://www\\.rfc-editor\\.org/rfc/.*$",
]
}.boxed()),
(
Expand Down

0 comments on commit 4c2b4f8

Please sign in to comment.