From dc73f34a755f34a0650d893cc7e095a8a7d05ece Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Thu, 16 Jan 2020 18:09:24 +1000 Subject: [PATCH] Add pre-commit hook for shellcheck Use pre-commit to run the shellcheck hook rather than coala as we want to eventually phase out coala. Issue: RELENG-2642 Change-Id: Ie06bbb0a06ba517bcc378480ea39320da00403c6 Signed-off-by: Anil Belur --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 23ef3e5..047fc32 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,3 +9,8 @@ repos: rev: 1.19.1 hooks: - id: prettier + + - repo: https://github.com/jumanjihouse/pre-commit-hooks + rev: 1.11.2 + hooks: + - id: shellcheck -- 2.16.6