diff --git a/Brewfile b/Brewfile index 07e64f3..1cc456d 100644 --- a/Brewfile +++ b/Brewfile @@ -1,7 +1,7 @@ brew "carthage" brew "make" brew "mint" -brew "shellcheck" +brew "shfmt" tap "kylef/formulae" brew "swiftenv" diff --git a/script/lint b/script/lint index c3026d6..885ae17 100755 --- a/script/lint +++ b/script/lint @@ -14,7 +14,4 @@ swiftlint lint --strict echo echo "--> 📜 Bash" -shopt -s extglob -# Only lint files with no extension (skipping .pl) -shellcheck --shell=bash script/!(*.*) -shopt -u extglob +shfmt -i 2 -w contrib/ script/