From d9ec6305547c5c566f2377e17d16f6d5f5875bc9 Mon Sep 17 00:00:00 2001 From: Se7enZ Date: Fri, 29 Nov 2024 21:10:29 +0100 Subject: [PATCH] chore: Add shellcheck to pre-commit. --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fe1a13e4c102..e0b7d30f6bac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,3 +11,9 @@ repos: - id: ruff-format args: [ --diff ] exclude: "contrib/pyln-grpc-proto/pyln/grpc/(primitives|node)_pb2(|_grpc).py" + +- repo: https://github.com/koalaman/shellcheck-precommit + rev: v0.10.0 + hooks: + - id: shellcheck + args: [ -fgcc ]