blahrs/contrib/pre-commit

5 lines
98 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
typos
cargo fmt -- --check
fd -e nix | xargs nixfmt --check