1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-12 13:00:39 +00:00

Add git hooks

This commit is contained in:
Ming Deng
2020-08-18 20:55:11 +08:00
parent c548764c8e
commit 4db256c9fb
4 changed files with 23 additions and 0 deletions

7
githook/pre-commit Executable file
View File

@ -0,0 +1,7 @@
goimports -l pkg
goimports -l examples
ineffassign .
staticcheck -show-ignored -checks "-ST1017,-U1000,-ST1005,-S1034,-S1012,-SA4006,-SA6005,-SA1019,-SA1024" ./pkg