Selectively enable MarkDown line-length checking
This commit is contained in:
parent
694e6f6cb1
commit
f142509ac8
3 changed files with 4 additions and 2 deletions
|
@ -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 "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue