Skip to content
Snippets Groups Projects
Select Git revision
  • f3215d7c4c934455514bdafc3ee78f49ba71f8c3
  • main default
  • 35-cgu
  • 34-peertube-support
  • 27-add-autoplay-to-iframe
  • 33-bug-on-youtube-embed-urls
  • RC-Rekall-v1.1-fix_lpo
  • tuleap-140-go-back-to-my-capsules-page-when-i-m-on-capsule-preview-page
  • RC-Rekall-v1.2-fix10
  • RC-Rekall-v1.2-fix9
  • RC-Rekall-v1.2-fix8
  • RC-Rekall-v1.2-fix7
  • RC-Rekall-v1.2-fix6
  • RC-Rekall-v1.2-fix5
  • RC-Rekall-v1.2-fix4
  • RC-Rekall-v1.2-fix3
  • RC-Rekall-v1.2-fix2
  • RC-Rekall-v1.2-fix1
  • RC-Rekall-v1.1-fix-3
  • RC-Rekall-v1.1-fix-2
  • RC-Rekall-v1.1-fix-1
  • RC-Rekall-v1.1-delivered
  • preprod20220209-1535
23 results

memorekall-member-new

Camille Simiand's avatar
Camille Simiand authored
- "npm install && npm run lint"

Update instructions to run the ESLint script and add it to the
pre-commit hook.
f3215d7c
History

MemoRekallMember web app

This project has been created to help artists document their creative process with video notes and documents.

Contributors

The Tetras Libre team follows some code quality requirements. Indeed, to ensure the respect of the standards PHP and JavaScript rules, we use a pre-commit hook as a safety net before sending any contribution. The following quality tool scripts will be triggered before reaching commit message editor.

  • PHPUnit (functional and unit tests)
  • PHP_CodeSniffer (for PSR standards)
  • PHPSTAN (for static analysis)
  • ESLint (JavaScript linter)

How to run the code quality scripts?

First, you need to enter the memorekall-member docker container: docker-compose exec memorekall-member bash

  • To run the script independently of a commit: composer {phpcs/phpstan/tests} or npm install and npm run lint for ESLint
  • To fix PHP_CodeSniffer errors: composer phpcbf
  • To run them all: composer ci

How to contribute to the MemoRekall project?

Please configure your local git as follows:

  1. From your terminal, run: git global core.hooksPath ./tools/git-hooks/
  2. Make the pre-commit hook executable running: sudo chmod +x ./tools/git-hooks/pre-commit