Add .pre-commit-hooks.yaml

This file will allow using golangci-lint with https://pre-commit.com.
This commit is contained in:
Aneesh Agrawal 2018-12-03 14:03:04 -08:00 committed by Isaev Denis
parent ef78643830
commit e72fe0540d

7
.pre-commit-hooks.yaml Normal file
View 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