- Run eslint in the docker container
- Run jest in the docker container (and get updates when snapshots change)
- Much more, share your tips!
Instructions adapted from here
- Install Remote development extension pack
- In VSCode,
control+shift+p
,Remote-Containers: Add Development Container Configuration Files
. ChooseFrom 'docker-compose.yml'
. This should create a folder.devcontainer
which is.gitignore
d. - Edit the
.devcontainer/devcontainer.json
file. Ensuring a few different settings: