Skip to content
Snippets Groups Projects
Commit e3c5b526 authored by Martin Schroschk's avatar Martin Schroschk
Browse files

Update lint-changes.sh to use linter config

parent ebf645fa
No related branches found
No related tags found
3 merge requests!322Merge preview into main,!319Merge preview into main,!138Update lint-changes.sh to use linter config
...@@ -13,7 +13,7 @@ files=$(git diff --name-only "$(git merge-base HEAD "$branch")") ...@@ -13,7 +13,7 @@ files=$(git diff --name-only "$(git merge-base HEAD "$branch")")
for f in $files; do for f in $files; do
if [ "${f: -3}" == ".md" ]; then if [ "${f: -3}" == ".md" ]; then
echo "Linting $f" echo "Linting $f"
if ! markdownlint "$f"; then if ! markdownlint --config doc.zih.tu-dresden.de/.markdownlint.json "$f"; then
any_fails=true any_fails=true
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment