-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrumphp.dist.yml
68 lines (68 loc) · 1.5 KB
/
grumphp.dist.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# grumphp.yml
grumphp:
git_hook_variables:
EXEC_GRUMPHP_COMMAND: ddev exec php
ascii:
failed:
succeeded:
tasks:
# Confirm composer file is valid after changes.
composer:
file: ./composer.json
no_check_all: true
no_check_publish: true
git_blacklist:
# Check commt for merge conflicts and debugging commands.
keywords:
- "<<<<<<< HEAD"
- "======="
- ">>>>>>>"
- "die\\("
- "var_dump\\("
- "syslog\\("
- "print_r\\("
- "dpm\\("
- "\\{\\{ debug\\(\\) \\}\\}"
whitelist_patterns:
- /^((?!grumphp.(dist.)?yml).)*$/
# Scan common drupal related files.
triggered_by:
- inc
- install
- js
- css
- scss
- lock
- module
- php
- profile
- test
- theme
- yml
regexp_type: E
# Lint our JSON files.
jsonlint: ~
# Confirm we're following Drupal standards.
phpcs:
standard: vendor/drupal/coder/coder_sniffer/Drupal/
ignore_patterns:
- libraries/
- sites/*/settings.php
triggered_by:
- inc
- install
- module
- php
- profile
- test
- theme
- info
- txt
- md
- yml
whitelist_patterns:
- /^web\/profiles\/custom\/(.*)/
- /^web\/modules\/custom\/(.*)/
- /^web\/themes\/custom\/(.*)/
# Lint our YAML files.
yamllint: ~