Skip to content

Commit

Permalink
Merge pull request #33984 from nextcloud/enh/add-pre-commit-config-fo…
Browse files Browse the repository at this point in the history
…r-cs-fixer

Add pre commit config for cs fixer, EOF checks, etc
  • Loading branch information
blizzz authored Sep 29, 2022
2 parents b4708fb + f0df9dd commit 3969497
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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: []

0 comments on commit 3969497

Please sign in to comment.