[#1] pre-commit: Use local golangci-lint hook
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
7833c3aac5
commit
f51c095236
1 changed files with 6 additions and 5 deletions
|
@ -23,11 +23,6 @@ repos:
|
|||
hooks:
|
||||
- id: shellcheck
|
||||
|
||||
- repo: https://github.com/golangci/golangci-lint
|
||||
rev: v1.59.1
|
||||
hooks:
|
||||
- id: golangci-lint
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: go-unit-tests
|
||||
|
@ -36,3 +31,9 @@ repos:
|
|||
pass_filenames: false
|
||||
types: [go]
|
||||
language: system
|
||||
- id: golangci-lint
|
||||
name: golangci-lint check
|
||||
entry: make lint
|
||||
pass_filenames: false
|
||||
types: [go]
|
||||
language: system
|
||||
|
|
Loading…
Add table
Reference in a new issue