Skip to content

Commit 834e962

Browse files
committed
Add shellcheck pre-commit hook
1 parent 2193e19 commit 834e962

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ repos:
4444
- id: file-contents-sorter
4545
files: spelling_private_dict\.txt$
4646
- id: trailing-whitespace
47+
- repo: https://github.com/shellcheck-py/shellcheck-py
48+
rev: v0.10.0.1
49+
hooks:
50+
- id: shellcheck
51+
args: ["--shell", "bash"]
4752
- repo: local
4853
hooks:
4954
- id: actionlint

0 commit comments

Comments
 (0)