update pre-commit.sample

This commit is contained in:
creating2morrow 2024-03-30 19:31:17 -04:00
parent 80e44400f7
commit 59b86612f1

View file

@ -1,5 +1,8 @@
#!/usr/bin/env bash
# Run the formatter and linter before commits
# TODO: automatically squash in formatting changes
# For now if there formatting changes just undo the
# previous commit and commit again.
# If any command fails exit immediately with that code
set -eo pipefail