[#7] pre-commit: Add golangci-lint hook

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
pull/8/head
Evgenii Stratonikov 2023-03-03 12:55:17 +03:00 committed by Gitea
parent 5faee63f60
commit 3af7645abf
1 changed files with 5 additions and 0 deletions

View File

@ -17,3 +17,8 @@ repos:
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
exclude: ".key$"
- repo: https://github.com/golangci/golangci-lint
rev: v1.51.2
hooks:
- id: golangci-lint