Dev chore: Add prettier check and autoformat target
Closed this issue · 0 comments
TimothyJones commented
Now that this repo is getting a few contributors, it would be good to:
- build in a formatting check to ensure the code is formatted with prettier
- Add an easy target for running the prettier formatter.
The format command is probably:
prettier --config .prettierrc --write "src/**/*.js"