提交 eb3b4d80 编写于 作者: S Shu Muto 提交者: Kubernetes Prow Robot

Enable `golangci-lint` in `lint-staged` (#3678)

`golangci-lint` on `lint-staged` does not work as we expected
and their documents.

Fixed to work them by observations of their actual behavior.

Fixes #3656
上级 f09b0e58
......@@ -65,6 +65,10 @@
"src/**/*.scss": [
"scssfmt",
"git add"
],
"src/**/*.go": [
"golangci-lint run -c .golangci.yml --fix src/app/backend/...",
"git add"
]
},
"dependencies": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册