From d64fb887ffab99b97bf1207b748fd23b0f30ea00 Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Mon, 20 Mar 2023 18:17:00 +0300 Subject: [PATCH] [#149] Reorder pre-commit hooks Minor changes to see what fails first Signed-off-by: Stanislav Bogatyrev --- .pre-commit-config.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 88fde1b6a..2e9744f55 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,12 @@ ci: autofix_prs: false repos: + - repo: https://github.com/jorisroovers/gitlint + rev: v0.19.1 + hooks: + - id: gitlint + stages: [commit-msg] + - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: @@ -18,18 +24,12 @@ repos: - id: end-of-file-fixer exclude: ".key$" - - repo: https://github.com/golangci/golangci-lint - rev: v1.51.2 - hooks: - - id: golangci-lint - - - repo: https://github.com/jorisroovers/gitlint - rev: v0.18.0 - hooks: - - id: gitlint - stages: [commit-msg] - - repo: https://github.com/shellcheck-py/shellcheck-py rev: v0.9.0.2 hooks: - id: shellcheck + + - repo: https://github.com/golangci/golangci-lint + rev: v1.51.2 + hooks: + - id: golangci-lint