File tree 1 file changed +48
-0
lines changed
1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ # intentionally malformed files
2
+ # pre-commit automatically excludes submodules
3
+ exclude : |
4
+ (?x)^(
5
+ .*\.dist|
6
+ roles/ood-head/files/auto-copy/var/www/ood/apps/common/common_attributes.yml|
7
+ roles/ood-head/files/auto-copy/var/www/ood/apps/sys/dashboard/config/locales/en.yml|
8
+ inventory.d/ipv4.py|
9
+ files/shibboleth/filtered-incommon-metadata.xml.j2|
10
+ )$
11
+
12
+ repos :
13
+ # auto formatters (no work required) #############################################################
14
+ # - repo: https://github.com/pre-commit/pre-commit-hooks
15
+ # rev: v5.0.0
16
+ # hooks:
17
+ # - id: trailing-whitespace
18
+ # - id: end-of-file-fixer
19
+ - repo : local
20
+ hooks :
21
+ - id : phpcbf
22
+ name : PHP Code Beautifier and Fixer
23
+ entry : phpcbf
24
+ language : system
25
+ files : \.php$
26
+ args : [--standard=PSR2, --colors]
27
+
28
+ # linters (work required) ########################################################################
29
+ # - repo: https://github.com/pre-commit/pre-commit-hooks
30
+ # rev: v5.0.0
31
+ # hooks:
32
+ # - id: check-yaml
33
+ # - id: check-json
34
+ # - id: check-xml
35
+ # - id: check-added-large-files
36
+ # - id: check-executables-have-shebangs
37
+ # - repo: https://github.com/gitleaks/gitleaks
38
+ # rev: v8.23.1
39
+ # hooks:
40
+ # - id: gitleaks
41
+ - repo : local
42
+ hooks :
43
+ - id : phpcs
44
+ name : PHP CodeSniffer
45
+ entry : phpcs
46
+ language : system
47
+ files : \.php$
48
+ args : [--standard=PSR2, --colors, --warning-severity=0]
You can’t perform that action at this time.
0 commit comments