Skip to content

Commit 0c87cb0

Browse files
committed
👷 Add shellcheck and shfmt
1 parent de06e5c commit 0c87cb0

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.pre-commit-config.yaml

+13-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ repos:
4444
rev: 3.0.0
4545
hooks:
4646
- id: check-mailmap
47+
# https://github.com/koalaman/shellcheck/issues/2909
48+
- id: shellcheck
49+
exclude_types:
50+
- zsh
4751
- repo: https://github.com/rhysd/actionlint
4852
rev: v1.7.4
4953
hooks:
@@ -67,12 +71,20 @@ repos:
6771
- mdformat-config
6872
- mdformat-web
6973
- repo: https://github.com/DavidAnson/markdownlint-cli2
70-
rev: v0.15.0
74+
rev: v0.16.0
7175
hooks:
7276
- id: markdownlint-cli2
7377
additional_dependencies:
7478
- markdown-it-texmath
79+
- repo: https://github.com/scop/pre-commit-shfmt
80+
rev: v3.10.0-2
81+
hooks:
82+
- id: shfmt
7583
- repo: https://github.com/lunarmodules/luacheck
7684
rev: v1.2.0
7785
hooks:
7886
- id: luacheck
87+
88+
ci:
89+
skip:
90+
- shellcheck

0 commit comments

Comments
 (0)