add gofmt as precommit hook
This commit is contained in:
@@ -115,6 +115,10 @@
|
||||
"*.scss": [
|
||||
"prettier --write",
|
||||
"git add"
|
||||
],
|
||||
"*.go": [
|
||||
"gofmt -w -s",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
"prettier": {
|
||||
|
||||
Reference in New Issue
Block a user