mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
add gofmt as precommit hook
This commit is contained in:
parent
22a349051c
commit
734a2e59aa
@ -115,6 +115,10 @@
|
||||
"*.scss": [
|
||||
"prettier --write",
|
||||
"git add"
|
||||
],
|
||||
"*.go": [
|
||||
"gofmt -w -s",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
"prettier": {
|
||||
|
Loading…
Reference in New Issue
Block a user