forked from contrib-tracker/backend
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgrumphp.yml
55 lines (55 loc) · 1.21 KB
/
grumphp.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
parameters:
git_dir: .
bin_dir: vendor/bin
grumphp:
ascii:
failed: vendor/axelerant/drupal-quality-checker/resources/grumpy.txt
succeeded: vendor/axelerant/drupal-quality-checker/resources/happy.txt
tasks:
phplint: ~
yamllint: ~
composer: ~
jsonlint: ~
twigcs:
path: 'web'
ruleset: 'FriendsOfTwig\Twigcs\Ruleset\Official'
exclude:
- core
- modules/contrib
- themes/contrib
- profiles/contrib
phpcs:
standard:
- phpcs.xml.dist
ignore_patterns:
- .github
- .gitlab
- /config/
- /drush/
- /web/robots.txt
- /web/sites/default/
- bower_components
- node_modules
- /vendor
triggered_by:
- php
- module
- inc
- install
- test
- profile
- theme
- css
- info
- txt
phpmd:
whitelist_patterns:
- /^web\/modules\/custom\/(.*)/
ruleset: ['phpmd.xml']
triggered_by: ['php']
npm_script:
script: lint
triggered_by: [js, jsx, ts, scss, css]
working_directory: web/themes/custom/contribtracker
is_run_task: true
silent: false