From 7f3cb753b486319f7e4fb2e3828e0cc8625dfadf Mon Sep 17 00:00:00 2001 From: Chris Araman Date: Sun, 21 Mar 2021 16:38:20 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9C=20Switch=20to=20shfmt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Brewfile | 2 +- script/lint | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) 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/