From 9d1e631ec24d4bea8f9ff0eb1e54278666d22fa6 Mon Sep 17 00:00:00 2001 From: Olaf Leidinger Date: Sun, 12 Sep 2021 19:30:38 +0200 Subject: [PATCH] FEATURE: Use long options --- beautify-code.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/beautify-code.sh b/beautify-code.sh index 6fc005c..386b5f9 100644 --- a/beautify-code.sh +++ b/beautify-code.sh @@ -4,5 +4,9 @@ SRC_DIR=$(dirname $0) echo $SRC_DIR for fn in "${SRC_DIR}"/src/*.js ; do - js-beautify -t -n -r -j $fn + js-beautify --replace \ + --indent-with-tabs \ + --end-with-newline \ + --jslint-happy \ + $fn done