mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
f365e52dd7
`scripts/prettier/index.js write` will run prettier on source files. Run using `yarn prettier`. `scripts/prettier/index.js` will throw if any source files are not formatted with prettier. We'll use this to block CI. Based on similar script in Jest repo.