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