mirror of
https://github.com/grafana/grafana.git
synced 2026-07-29 15:59:50 -05:00
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