Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 549 Bytes

CONTRIBUTING.md

File metadata and controls

23 lines (15 loc) · 549 Bytes

Code style

SCSS/JavaScript/Markdown/YAML

Use Prettier.

Assuming you have the npm dependencies install, run yarn run prettier --write to fix the code style.

Running tests

Run PHP tests:

docker-compose run --rm php ./vendor/bin/phpunit
docker-compose run --rm php ./vendor/bin/pint
docker-compose run --rm php ./vendor/bin/phpstan analyse --memory-limit=256M

Run Node tests:

docker-compose run --rm node sh -c "yarn run flow && yarn run lint && yarn run test && yarn run prettier -l"