Add prettier script

Copies over the prettier script from the React repo with a few tiny tweaks for a 
nicer experience running prettier on changed files
This commit is contained in:
Lauren Tan committed 2022-11-17 10:31:34 -05:00
1 parent 188c1501be
commit cf7176d3f2
7 files changed
+140 -5

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
cache-dependency-path: forget/yarn.lock
- run: yarn install --immutable --immutable-cache
working-directory: forget
- run: yarn prettier --check .
- run: yarn prettier:ci
working-directory: forget
- run: yarn build
working-directory: forget