updated lint.sh

pull/16/head
Hari Sekhon 1 month ago
parent 67a3bb5c4f
commit 8911b70f0f

@ -107,6 +107,19 @@ else
;;
*.md) mdl "$basename"
;;
.vimrc) if vim -c "source $filename" -c "q"; then
echo "ViM basic lint validation passed"
else
die "ViM basic lint validation failed"
fi
if type -P vint &>/dev/null; then
if vint "$filename"; then
echo "Vint vim script linting passed"
else
die "Vint vim script linting failed"
fi
fi
;;
*) die "Cannot lint unrecognized file type for file: $filename"
;;
esac

Loading…
Cancel
Save