github.com/NpoolPlatform/chain-middleware@v0.0.0-20240228100535-eb1bcf896eb9/.githooks/pre-commit (about)

     1  #!/usr/bin/env bash
     2  
     3  set -o errexit
     4  set -o nounset
     5  set -o pipefail
     6  
     7  REPO_ROOT="$(git rev-parse --show-toplevel)"
     8  
     9  exec "${REPO_ROOT}/hack/verify-golangci-lint.sh"
    10  exec "${REPO_ROOT}/hack/verify-spelling.sh"