From 2acf26b7b3c1b976e7f9ecac9dd2793f67836f55 Mon Sep 17 00:00:00 2001 From: Noah Gorny Date: Tue, 13 Oct 2020 17:20:11 +0300 Subject: [PATCH] pre-commit: Do not run shfmt/shellcheck on .bats files --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 51e4318d..696fabf4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,9 @@ repos: hooks: - id: git-check # Configure in .gitattributes - id: shellcheck + exclude: ".bats$" - id: shfmt + exclude: ".bats$" - repo: https://github.com/Lucas-C/pre-commit-hooks rev: v1.1.7 hooks: