Skip to content
Snippets Groups Projects
Unverified Commit bdd1c7bc authored by Bas's avatar Bas Committed by GitHub
Browse files

Catch ShellCheck errors in pre-commit using same command as CI. (#9752)

parent d8197862
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,14 @@ repos: ...@@ -28,6 +28,14 @@ repos:
args: [ -r, "~MD013,~MD029" ] args: [ -r, "~MD013,~MD029" ]
exclude: "^.git" exclude: "^.git"
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: shellcheck
args: [ --severity, "error" ]
exclude: "^.git"
files: "\\.sh$"
- repo: local - repo: local
hooks: hooks:
- id: ansible-lint - id: ansible-lint
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment