1
0

.pre-commit-config.yaml 603 B

12345678910111213141516171819
  1. # See https://pre-commit.com for more information
  2. # See https://pre-commit.com/hooks.html for more hooks
  3. # SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
  4. # SPDX-License-Identifier: AGPL-3.0-or-later
  5. repos:
  6. - repo: https://github.com/pre-commit/pre-commit-hooks
  7. rev: v4.3.0
  8. hooks:
  9. - id: end-of-file-fixer
  10. - id: check-yaml
  11. - id: check-added-large-files
  12. - repo: https://github.com/nextcloud/pre-commit-php.git
  13. rev: 1.5.1
  14. hooks:
  15. - id: php-lint
  16. - id: php-cs-fixer
  17. files: \.(php)$
  18. exclude: ^(config|data|composer|lib\/composer)
  19. args: []