- 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.devcontainerwhich is.gitignored.
- Edit the .devcontainer/devcontainer.jsonfile. Ensuring a few different settings: