Skip to content

Commit e72fe05

Browse files
aneeshusajirfag
authored andcommitted
Add .pre-commit-hooks.yaml
This file will allow using golangci-lint with https://pre-commit.com.
1 parent ef78643 commit e72fe05

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-hooks.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
- id: golangci-lint
2+
name: golangci-lint
3+
description: Fast linters runner for Go.
4+
entry: golangci-lint run
5+
types: [go]
6+
language: golang
7+
pass_filenames: false

0 commit comments

Comments
 (0)