From adb59b44fc415cfb5e2ebfe7cf1442b4cfb79352 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Sun, 8 Sep 2024 01:59:58 +0100 Subject: [PATCH] Add shellcheck pre-commit hook --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a4874fe0..047c008e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,11 @@ repos: - id: file-contents-sorter files: spelling_private_dict\.txt$ - id: trailing-whitespace +- repo: https://github.com/shellcheck-py/shellcheck-py + rev: v0.10.0.1 + hooks: + - id: shellcheck + args: ["--shell", "bash"] - repo: local hooks: - id: actionlint