Add Prettier code formatter and apply auto formatting
This sets up Prettier for CI and VS Code. The VS Code extension will auto format on save. Prettier can be run manually to check or format all files:
yarn prettier --check .
yarn prettier --write .
Depends-on: !1537 (merged)
Edited by Daniel Gerhardt