mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
Added shfmt to autoformat shell scripts (#86)
This commit is contained in:
parent
07730a425a
commit
1e5b3af0d2
4 changed files with 269 additions and 209 deletions
|
|
@ -8,8 +8,8 @@ repos:
|
|||
- id: check-case-conflict
|
||||
- id: check-merge-conflict
|
||||
- id: check-executables-have-shebangs
|
||||
#- repo: git://github.com/jumanjihouse/pre-commit-hooks
|
||||
# rev: 1.11.2
|
||||
# hooks:
|
||||
# - id: shellcheck
|
||||
# - id: shfmt
|
||||
- repo: git://github.com/jumanjihouse/pre-commit-hooks
|
||||
rev: 1.11.2
|
||||
hooks:
|
||||
- id: shfmt
|
||||
args: ['-l', '-i', '2', '-ci', '-sr', '-w']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue