From 30540f2d40d8b5a0a6149869cc13ac74250c1edb Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Tue, 8 Nov 2016 12:34:06 +0200 Subject: [PATCH] - Added pre-commit hook to lint the linter. --- .pre-commit-config.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..a5abfa9 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,9 @@ +--- +- repo: local + hooks: + - id: shell-lint + name: Lint shell scripts + description: Run /bin/sh -en against shell scripts. + language: script + entry: shell-lint + files: shell-lint -- GitLab