We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f70da2f commit 34d0741Copy full SHA for 34d0741
1 file changed
example.pre-commit-config.yaml
@@ -6,8 +6,13 @@ repos:
6
- repo: https://github.com/chainguard-dev/pre-commit-hooks
7
rev: 71fca50bcd1006b5cbcf71f03a3b493f48c4af7f
8
hooks:
9
- # Not quite ready for prime time yet, due to a tool dependency outside the pre-commit managed environment.
10
- #- id: shellcheck-run-steps
+ - id: shellcheck-run-steps
+ files: '^[^.][^/]*\.yaml$' # matches non-hidden .yaml files at the top level only
11
+ args:
12
+ - "--" # options to hook before this, options to shellcheck after
13
+ - "-S"
14
+ - "error"
15
+ - "--" # terminates shellcheck options, rest will be filenames
16
- id: check-for-epoch-bump
17
files: |
18
(?x)^(
0 commit comments