Skip to content

Commit 95d9302

Browse files
committed
Add pre-commit configuration file
Signed-off-by: Côme Chilliet <[email protected]>
1 parent d42ddd7 commit 95d9302

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.pre-commit-config.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v4.3.0
6+
hooks:
7+
- id: end-of-file-fixer
8+
- id: check-yaml
9+
- id: check-added-large-files
10+
- repo: https://github.com/nextcloud/pre-commit-php.git
11+
rev: 1.5.1
12+
hooks:
13+
- id: php-lint
14+
- id: php-cs-fixer
15+
files: \.(php)$
16+
exclude: ^(config|data|composer)
17+
args: []

0 commit comments

Comments
 (0)