Add pre-commit hook and setup script (#129)
Add pre-commit hook and setup script Runs the appropriate linter on staged files before committing.
This commit was merged in pull request #129.
This commit is contained in:
2
scripts/git-hooks/install
Normal file
2
scripts/git-hooks/install
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
cp -f scripts/git-hooks/pre-commit .git/hooks
|
||||
Reference in New Issue
Block a user