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:
basti authored and GitHub committed 2019-06-09 13:53:40 +02:00
1 parent 91779ccd03
commit f639e3aa19
3 files changed
+21 -1

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
cp -f scripts/git-hooks/pre-commit .git/hooks