format-code: revert inadvertent changes
This partially reverts commit 2612b36b4cdeeb143b6d2cc9ef14dfc84f492ba5.
Some changes got merged in unintentionally that disabled big portions of
the format tool. Reset those back to the previous state.
Change-Id: I47f0094ecec0ed670944736fe8f56a4084594d07
diff --git a/scripts/format-code.sh b/scripts/format-code.sh
index 045b343..847084d 100755
--- a/scripts/format-code.sh
+++ b/scripts/format-code.sh
@@ -25,7 +25,18 @@
}
LINTERS_ALL=( \
- markdownlint \
+ commit_gitlint \
+ commit_spelling \
+ beautysh \
+ beautysh_sh \
+ black \
+ clang_format \
+ eslint \
+ flake8 \
+ isort \
+ markdownlint \
+ prettier \
+ shellcheck \
)
LINTERS_DISABLED=()
LINTERS_ENABLED=()
@@ -94,7 +105,7 @@
fi
# Allow called scripts to know which clang format we are using
-export CLANG_FORMAT="true"
+export CLANG_FORMAT="clang-format"
# Path to default config files for linters.
CONFIG_PATH="$(git -C "$(dirname "${BASH_SOURCE[0]}")" rev-parse --show-toplevel)/config"