From 7fe02b151f8941491b15529e42f6a37cc05e0a1a Mon Sep 17 00:00:00 2001 From: itxx00 Date: Thu, 9 Jul 2020 17:23:09 +0800 Subject: [PATCH] Create .pre-commit-hooks.yaml --- .pre-commit-hooks.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 0000000..3c42bae --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,7 @@ +# See https://pre-commit.com for more information +- id: shellcheck + name: shellcheck shell scripts + description: Validate shell scripts with shellcheck running with system shellcheck command + language: system + entry: shellcheck + types: [shell]