ifnews2/.pre-commit-config.yaml

23 lines
533 B
YAML
Raw Normal View History

2021-07-30 15:32:50 +03:00
fail_fast: true
repos:
- repo: git@github.com:justin-at-demac/pre-commit-php.git
2023-03-03 15:35:48 +02:00
rev: 3.0.1
2021-07-30 15:32:50 +03:00
hooks:
- id: php-lint
#- id: php-cbf
#files: \.(php)$
- id: php-no-var_dumps
- id: php-no-exits
#- id: php-cs
#files: \.(php)$
- id: php-stan
files: \.(php)$
args: ["--configuration=.phpstan.neon"]
- repo: https://github.com/pre-commit/pre-commit-hooks
2023-03-03 15:35:48 +02:00
rev: v4.4.0
2021-07-30 15:32:50 +03:00
hooks:
- id: check-json
- id: check-xml
- id: check-yaml
- id: check-merge-conflict