Files
openzeppelin-contracts/.githooks/pre-push
Hadrien Croubois 976a3d5362 Run linter before pushing to git (#4962)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
2024-03-21 18:47:01 +01:00

8 lines
98 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
if [ "${CI:-"false"}" != "true" ]; then
npm run lint
fi