From 110b7e41706e9a560ed69d9011def86c18d67aa6 Mon Sep 17 00:00:00 2001 From: Alexander Chuprov Date: Wed, 17 Jan 2024 17:42:01 +0300 Subject: [PATCH] [#200] pre-commit: Fix linter invocation target Signed-off-by: Alexander Chuprov --- .pre-commit-config.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f7f66f1..f63f3e9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,10 +18,13 @@ repos: - id: end-of-file-fixer exclude: "(.key|.interp|.tokens)$" - - repo: https://github.com/golangci/golangci-lint - rev: v1.51.2 + - repo: local hooks: - - id: golangci-lint + - id: make-lint + name: Run Make Lint + entry: make lint + language: system + pass_filenames: false - repo: https://github.com/jorisroovers/gitlint rev: v0.18.0