From 870fae044b663c41d14e406aa8f26779964399ba Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 16 Sep 2021 22:39:22 +0300 Subject: [PATCH] Don't check Bats files using shell-lint. They're meant for Bash and /bin/sh doesn't support everything that Bash does. --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 01b0f53..3cc32c8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,6 +35,7 @@ repos: rev: v0.6.0 hooks: - id: shell-lint + exclude: \.bats$ - repo: https://github.com/shellcheck-py/shellcheck-py.git rev: v0.7.1.1 -- GitLab