File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 113
113
"@types/node" : " 12.12.24" ,
114
114
"clang-format" : " 1.3.0" ,
115
115
"jasmine" : " 3.5.0" ,
116
+ "prettier" : " ^1.19.1" ,
116
117
"rollup" : " 1.29.0" ,
117
118
"rollup-plugin-commonjs" : " 10.1.0" ,
118
119
"tslint" : " 5.20.1" ,
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ find . -name "*.ts" \
9
9
-not -path " */out/*" \
10
10
-exec yarn clang-format -i {} +
11
11
12
+ find syntaxes/ -name " *.json" \
13
+ -exec yarn prettier --write {} +
14
+
12
15
if [[ ! -z " ${CI_MODE} " ]]; then
13
16
git diff --diff-filter=ACMRT --exit-code || (echo " Files not formatted; please run 'yarn format'." && exit 1)
14
17
fi
Original file line number Diff line number Diff line change @@ -854,6 +854,11 @@ performance-now@^2.1.0:
854
854
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
855
855
integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=
856
856
857
+ prettier@^1.19.1 :
858
+ version "1.19.1"
859
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
860
+ integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
861
+
857
862
psl@^1.1.24 :
858
863
version "1.3.0"
859
864
resolved "https://registry.yarnpkg.com/psl/-/psl-1.3.0.tgz#e1ebf6a3b5564fa8376f3da2275da76d875ca1bd"
You can’t perform that action at this time.
0 commit comments