pre-commit: add markdown-link-check config and ignore links

https://github.com/tcort/markdown-link-check?tab=readme-ov-file#config-file-format
This commit is contained in:
John Bampton
2024-02-18 22:34:34 +10:00
parent 2f77f2b525
commit 8772592fa2
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
{
"ignorePatterns": [
{
"pattern": "^https://github.com/mruby/mruby/commit/.*"
}
]
}
+1 -1
View File
@@ -72,7 +72,7 @@ repos:
- id: markdown-link-check
name: Run markdown-link-check
description: Checks hyperlinks in Markdown files
args: [-q]
args: [--config=.github/linters/mlc_config.json, -q]
types: [markdown]
files: \.(md|mdown|markdown)$
- repo: https://github.com/adrienverge/yamllint