Configure and run Prettier
- I've added
.prettierrc.json
as discussed. I kept the config the same for now, but I replaced the script so it runs on all files with.
. - I've removed the single-file formatting script, since VSCode is now configured to auto-format on save.
- I've also renamed the
AllFiles
script in prevision of running a global linting command (ESLint/Prettier) on the CI (more on this later). The script no longer formats the files; it only checks them; you have to pass--write
to format. - I've added TypeScript as dev dependencies to improve the development experience in our IDEs (auto-completion, auto-import, etc.)
Edited by Axel Bocciarelli