Unify formatting and linting

Ensures optimal formatting in addition to linting during manual deploys
and during pre-commit actions.
This commit is contained in:
2021-11-06 03:10:17 -04:00
parent 9b12cc0236
commit b9c30baf80
5 changed files with 13 additions and 7 deletions

View File

@ -4,11 +4,9 @@ pushd $( git rev-parse --show-toplevel ) &>/dev/null
ex=0
# Linting
echo "Linting..."
./lint
./prepare
if [[ $? -ne 0 ]]; then
echo "Aborting commit due to linting errors."
echo "Aborting commit due to formatting or linting errors."
ex=1
fi