mirror of
https://github.com/mas-cli/mas
synced 2024-11-21 19:23:01 +00:00
📜 Switch to shfmt
This commit is contained in:
parent
420cc34885
commit
7f3cb753b4
2 changed files with 2 additions and 5 deletions
2
Brewfile
2
Brewfile
|
@ -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"
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue