pegleg/tools/gate/whitespace-linter.sh

10 lines
93 B
Bash
Executable File

#!/usr/bin/env bash
set -x
RES=$(git grep -E -l " +$")
if [[ -n $RES ]]; then
exit 1
fi