Add pre-commit hook for shellcheck 29/62829/3
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 16 Jan 2020 08:09:24 +0000 (18:09 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Thu, 16 Jan 2020 08:09:25 +0000 (18:09 +1000)
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 <abelur@linuxfoundation.org>
.pre-commit-config.yaml

index 23ef3e5..047fc32 100644 (file)
@@ -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