Code style and helper tools for all languages that Muvon Un Limited uses
- pre-commit
- vscode-markdownlint
- PHP CodeSniffer for a code style check
- PHPStan for static analyzing
To run new projects just run
npx create-react-app test --template typescript
Once it's done you should install the code style to the directory by running npx create-react-app test --template typescript
cd codestyle
bin/install "path/to/test/app/folder" react-ts
Do not forget to enable hooks by using pre-commit by running inside the test app folder:
For more information about codestyle for this setup read here.
pre-commit install
- We use tabs in
*md
files and as for now there is no such rule for linter