mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-17 08:44:20 +01:00
Add precommit hook to suggest proper formatting
Signed-off-by: kernelkind <kernelkind@gmail.com> Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
William Casarin
parent
c76f322a48
commit
dae57d78ef
4
scripts/pre_commit_hook.sh
Normal file
4
scripts/pre_commit_hook.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cargo fmt --all --check
|
||||
|
||||
Reference in New Issue
Block a user