From cfd8e91c304a9c19b445f8b78ab208ee898e8532 Mon Sep 17 00:00:00 2001 From: wzy <32936898+Freed-Wu@users.noreply.github.com> Date: Fri, 17 Mar 2023 11:38:44 +0800 Subject: [PATCH] exclude zsh for shellcheck and shfmt shellcheck and shfmt don't support zsh now. --- .pre-commit-hooks.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 058b02f..7fa4255 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -94,6 +94,7 @@ entry: pre_commit_hooks/shellcheck language: script types: [shell] + exclude_types: [zsh] args: [-e, SC1091] - id: script-must-have-extension @@ -115,3 +116,4 @@ language: script entry: pre_commit_hooks/shfmt types: [shell] + exclude_types: [zsh]