diff --git a/Cargo.lock b/Cargo.lock index e5d010e3..235a75be 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -342,7 +342,7 @@ dependencies = [ [[package]] name = "eipw-lint-js" -version = "0.4.6" +version = "0.4.7" dependencies = [ "annotate-snippets", "console_error_panic_hook", diff --git a/eipw-lint-js/Cargo.toml b/eipw-lint-js/Cargo.toml index f1e1ddc1..ad279ddf 100644 --- a/eipw-lint-js/Cargo.toml +++ b/eipw-lint-js/Cargo.toml @@ -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" diff --git a/eipw-lint/src/lib.rs b/eipw-lint/src/lib.rs index 58c965e5..f0e54ac0 100644 --- a/eipw-lint/src/lib.rs +++ b/eipw-lint/src/lib.rs @@ -395,7 +395,11 @@ pub fn default_lints() -> impl Iterator)> { ("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()), (