📜 Switch to shfmt

This commit is contained in:
Chris Araman 2021-03-21 16:38:20 -07:00
parent 420cc34885
commit 7f3cb753b4
No known key found for this signature in database
GPG key ID: BB4499D9E11B61E0
2 changed files with 2 additions and 5 deletions

View file

@ -1,7 +1,7 @@
brew "carthage" brew "carthage"
brew "make" brew "make"
brew "mint" brew "mint"
brew "shellcheck" brew "shfmt"
tap "kylef/formulae" tap "kylef/formulae"
brew "swiftenv" brew "swiftenv"

View file

@ -14,7 +14,4 @@ swiftlint lint --strict
echo echo
echo "--> 📜 Bash" echo "--> 📜 Bash"
shopt -s extglob shfmt -i 2 -w contrib/ script/
# Only lint files with no extension (skipping .pl)
shellcheck --shell=bash script/!(*.*)
shopt -u extglob