authelia/.github/pre-commit

12 lines
174 B
Plaintext
Raw Normal View History

#!/bin/sh
if [ -n "$NO_HOOK" ]; then
exit 0
fi
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/required-apps"
golangci-lint run -v --fix && \
cd web && "${PMGR}" lint