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:
7
githook/pre-commit
Executable file
7
githook/pre-commit
Executable 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
|
Reference in New Issue
Block a user