Applying prettier in CI for pusher and back containers

This commit is contained in:
David Négrier 2021-06-23 17:13:16 +02:00
parent 3cf0a9ee84
commit 06b7f5ba2f
2 changed files with 22 additions and 0 deletions

View file

@ -46,6 +46,15 @@ $ yarn run install
$ yarn run prepare
```
If you don't have the precommit hook installed (or if you committed code before installing the precommit hook), you will need
to run code linting manually:
```console
$ docker-compose exec front yarn run pretty
$ docker-compose exec pusher yarn run pretty
$ docker-compose exec back yarn run pretty
```
### Providing tests
WorkAdventure is based on a video game engine (Phaser), and video games are not the easiest programs to unit test.