Added shfmt to autoformat shell scripts (#86)

This commit is contained in:
Anton Babenko 2020-01-21 11:54:13 +01:00 committed by GitHub
commit 1e5b3af0d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 269 additions and 209 deletions

View file

@ -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']