# Pre-commit hooks to run tests and ensure code is cleaned. # See https://pre-commit.com for more information --- repos: - repo: https://github.com/adrienverge/yamllint rev: v1.32.0 hooks: - id: yamllint ignore: .github/ - repo: https://github.com/pre-commit/mirrors-prettier rev: v2.7.1 hooks: - id: prettier - repo: https://github.com/digitalpulp/pre-commit-php.git rev: 1.4.0 hooks: - id: php-stan files: ^(?!example/).*\.(php)$ args: ["--configuration=phpstan.neon"] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: - id: check-executables-have-shebangs stages: [manual] - id: check-json exclude: (.vscode|.devcontainer)