dillon1000/react

Commit

Add prettier script

`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.
Browse files
Changed paths3 files
First-parent comparison
M package.json ModifiedA scripts/prettier/index.js AddedA scripts/prettier/runCommand.js Added
Patch

Files changed

Rendering syntax-highlighted changes…