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
2022-11-17 10:31:34 -05:00
parent 188c1501be
commit cf7176d3f2
7 changed files with 140 additions and 5 deletions
+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