Add .pre-commit-hooks.yaml
This file will allow using golangci-lint with https://pre-commit.com.
This commit is contained in:
parent
ef78643830
commit
e72fe0540d
7
.pre-commit-hooks.yaml
Normal file
7
.pre-commit-hooks.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
- id: golangci-lint
|
||||||
|
name: golangci-lint
|
||||||
|
description: Fast linters runner for Go.
|
||||||
|
entry: golangci-lint run
|
||||||
|
types: [go]
|
||||||
|
language: golang
|
||||||
|
pass_filenames: false
|
Loading…
x
Reference in New Issue
Block a user