React + Typescript + ESLint + Prettier + Jest
Inspired by this article
I use this VSCode extension. After you install all dependencies listed here you just need to select the new extension as default formatter:
- Go to "Code > Preferences > Settings"
- Search "format"
- Set the default formatter to "Prettier ESLint"
- Set the format on save (and paste if you want) checkbox