mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +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:
1 parent
188c1501be
commit
cf7176d3f2
7 files changed
+140
-5
No files matched your search
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