Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 546 Bytes

CONTRIBUTING.md

File metadata and controls

23 lines (15 loc) · 546 Bytes

Code style

SCSS/JavaScript/Markdown/YAML

Use Prettier.

Assuming you have the npm dependencies install, run npm 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 "npm run flow && npm run lint && npm test && npm run prettier -- -l"