-
Notifications
You must be signed in to change notification settings - Fork 36
/
deptrac.yaml
85 lines (85 loc) · 1.98 KB
/
deptrac.yaml
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
parameters:
paths:
- ./src
- ./app
layers:
- name: Common
collectors:
- type: directory
regex: ./app/.*
- name: Contracts
collectors:
- type: directory
regex: .*/Contracts/.*
- name: Vendor
collectors:
- type: bool
must_not:
- type: directory
regex: ./(src|app)/.*
- name: Inventory
collectors:
- type: bool
must:
- type: directory
regex: ./src/Inventory/.*
must_not:
- type: directory
regex: ./src/Inventory/Contracts/.*
- name: Order
collectors:
- type: bool
must:
- type: directory
regex: ./src/Order/.*
must_not:
- type: directory
regex: ./src/Order/Contracts/.*
- name: Payment
collectors:
- type: bool
must:
- type: directory
regex: ./src/Payment/.*
must_not:
- type: directory
regex: ./src/Payment/Contracts/.*
- name: Shipping
collectors:
- type: bool
must:
- type: directory
regex: ./src/Shipping/.*
must_not:
- type: directory
regex: ./src/Shipping/Contracts/.*
ruleset:
Common:
- Vendor
Contracts:
- Vendor
- Common
Inventory:
- Contracts
- Vendor
- Common
Order:
- Contracts
- Vendor
- Common
Payment:
- Contracts
- Vendor
- Common
Shipping:
- Contracts
- Vendor
- Common
# formatters config is required to generate graphical diagrams using graphviz.
# Default values should be used according to https://github.com/qossmic/deptrac/issues/949,
# however, the command still fails if no formatters config is specified.
formatters:
graphviz:
hidden_layers: []
groups: []
point_to_groups: false