summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: 9ac3616066a50e7c5c223f9393c2adb7890c2743 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.3.0
    hooks:
    -   id: end-of-file-fixer
    -   id: check-yaml
    -   id: check-added-large-files
- repo: https://github.com/nextcloud/pre-commit-php.git
  rev: 1.5.1
  hooks:
  - id: php-lint
  - id: php-cs-fixer
    files: \.(php)$
    exclude: ^(config|data|composer)
    args: []