Move linting to pre-commit (#11975)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2025-01-20 14:58:01 +08:00
committed by GitHub
parent 51ef828f10
commit 3ea7b94523
26 changed files with 724 additions and 1286 deletions
-13
View File
@@ -1,13 +0,0 @@
#!/bin/bash
if command -v actionlint &> /dev/null; then
actionlint "$@"
exit 0
elif [ -x ./actionlint ]; then
./actionlint "$@"
exit 0
fi
# download a binary to the current directory - v1.7.3
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/aa0a7be8e566b096e64a5df8ff290ec24fa58fbc/scripts/download-actionlint.bash)
./actionlint "$@"
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
pymarkdownlnt scan docs -r