1
0
Fork 0

Selectively enable MarkDown line-length checking

This commit is contained in:
krcroft 2020-03-17 07:13:23 -07:00 committed by Patryk Obara
parent 694e6f6cb1
commit f142509ac8
3 changed files with 4 additions and 2 deletions

View file

@ -17,10 +17,11 @@ list_markdown_files () {
}
main () {
repo_root="$(git rev-parse --show-toplevel)"
mdl --version
echo "Checking files:"
list_markdown_files
list_markdown_files | xargs -L 1000 mdl "$@"
list_markdown_files | xargs -L 1000 mdl --style "$repo_root/.mdl-styles" "$@"
}
>&2 main "$@"