From 1eb341146b4f1ec250e2abcd3171c3627ecd8af1 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Tue, 8 Nov 2016 12:30:20 +0200 Subject: [PATCH] - Added pre-commit hook to lint shell scripts. --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3a2aa9e..732e382 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,3 +7,8 @@ - id: check-yaml - id: check-merge-conflict - id: flake8 +- repo: https://www.shore.co.il/git/shell-pre-commit/ + sha: v0.1.0 + hooks: + - id: shell-lint + files: ansible-syntax-check -- GitLab