Skip to content

Commit f5e041e

Browse files
ayazhafizKeen Yee Liau
authored andcommitted
fixup! style: add clang-format for TypeScript formatting
1 parent 48100c7 commit f5e041e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scripts/format.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
set -ex -o pipefail
44

5-
yarn clang-format -i client/**/*.ts
6-
yarn clang-format -i integration/**/*.ts
7-
yarn clang-format -i server/**/*.ts
5+
find . -name "*.ts" \
6+
-not -path "*/project/*" \
7+
-not -path "*/node_modules/*" \
8+
-not -path "*/out/*" \
9+
-exec yarn clang-format -i {} +

0 commit comments

Comments
 (0)