From 57dbd41511b79905dfadc03eed7cd6d6119f5b1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar=20Rubio?= Date: Sun, 13 Oct 2024 03:21:51 +0200 Subject: [PATCH] Use lychee instead of markdown-link-check on CI --- .markdown-link-check.json | 7 ------- .pre-commit-config.yaml | 11 +++-------- 2 files changed, 3 insertions(+), 15 deletions(-) delete mode 100644 .markdown-link-check.json diff --git a/.markdown-link-check.json b/.markdown-link-check.json deleted file mode 100644 index 8ef454a..0000000 --- a/.markdown-link-check.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "ignorePatterns": [ - { - "pattern": "^(#|(https://crates\\.io))" - } - ] -} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0ca8107..596a69c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,12 +56,7 @@ repos: - id: cargo-machete args: - --skip-target-dir - - repo: https://github.com/tcort/markdown-link-check - rev: v3.12.2 + - repo: https://github.com/mondeja/rust-pc-hooks + rev: v1.3.0 hooks: - - id: markdown-link-check - name: markdown-link-check - files: ^README\.md$ - args: - - --config - - .markdown-link-check.json + - id: lychee