mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
`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.