Skip to content

Commit

Permalink
chore: Tweak composer regex to only match json or lock extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Aug 29, 2023
1 parent 60847b6 commit 7b6b601
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
name: Pint
language: system
entry: docker-compose run --rm -T app ./vendor/bin/pint
files: '^(.*\.php|composer\..*)'
files: '^(.*\.php|composer\.(json|lock))'
pass_filenames: false
- id: docker_hot_larastan
name: Larastan
language: system
entry: docker-compose run --rm -T app ./vendor/bin/phpstan analyse --memory-limit=2G
files: '^(.*\.php|composer\..*)'
files: '^(.*\.php|composer\.(json|lock))'
pass_filenames: false
- id: docker_hot_backend_test
name: Backend Test
language: system
entry: docker-compose run --rm -T app php artisan test -p
files: '^(.*\.php|composer\..*)'
files: '^(.*\.php|composer\.(json|lock))'
pass_filenames: false
- id: docker_hot_vtsc
name: Vtsc
Expand Down

0 comments on commit 7b6b601

Please sign in to comment.