added pre-commit

added pre-commit

checking for link validity at the moment
This commit is contained in:
Erik Grobecker 2024-10-14 19:53:18 +02:00
parent 432cb30031
commit 7aa434de8b
Signed by: Erik
GPG key ID: 80D020D0ABBD3FB2
3 changed files with 9 additions and 1 deletions

7
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,7 @@
repos:
- repo: https://github.com/lycheeverse/lychee.git # as seen in https://github.com/lycheeverse/lychee?tab=readme-ov-file#pre-commit-usage
rev: v0.15.1
hooks:
- id: lychee
# Optionally include additional CLI arguments
args: ["--no-progress" ,".",]

1
lychee.toml Normal file
View file

@ -0,0 +1 @@
exclude = ['midnight-lizard\.org']

View file

@ -6,7 +6,7 @@
## CLI
- [just](https://just.systems/) Makefiles but for everyone
- [just](https://just.systems/) Makefiles but for everyone
## Websites