mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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:
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user