From 5417e742982e3c24f5679e9952fcb88d05ee76e4 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 11 Oct 2025 09:15:20 -0400 Subject: Add .editorconfig to remove some shfmt flags in scripts --- scripts/format.sh | 4 ++-- scripts/lint.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/format.sh b/scripts/format.sh index 5a9ee8b..b6a875e 100755 --- a/scripts/format.sh +++ b/scripts/format.sh @@ -82,10 +82,10 @@ format_shfmt() { fi local unformatted - unformatted=$(shfmt -l -i 2 -ci scripts/) + unformatted=$(shfmt -l scripts/) if [[ -n "$unformatted" ]]; then log_step "Formatting files with shfmt..." - shfmt -w -i 2 -ci scripts/ + shfmt -w scripts/ log_success "shfmt completed" return 0 fi diff --git a/scripts/lint.sh b/scripts/lint.sh index 6c991e2..63cdb0e 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -103,7 +103,7 @@ lint_shfmt() { fi local unformatted - unformatted=$(shfmt -l -i 2 -ci scripts/) + unformatted=$(shfmt -l scripts/) if [[ -n "$unformatted" ]]; then log_error "The following files are not formatted:" echo "$unformatted" -- cgit v1.2.3