-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdeptrac.yaml
48 lines (41 loc) · 908 Bytes
/
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
deptrac:
paths:
- ./src
- ./vendor
analyser:
types:
- "use"
- "file"
- "function_call"
layers:
- name: Presenter
collectors:
- type: classNameRegex
value: ~^Lav45\\MockServer\\Presenter\\.*~
- name: Infrastructure
collectors:
- type: classNameRegex
value: ~^Lav45\\MockServer\\Infrastructure\\.*~
- name: Application
collectors:
- type: classNameRegex
value: ~^Lav45\\MockServer\\Application\\.*~
- name: Domain
collectors:
- type: classNameRegex
value: ~^Lav45\\MockServer\\Domain\\.*~
- name: Vendor
collectors:
- type: directory
value: ./vendor
ruleset:
Presenter:
- Application
- Domain
- Vendor
Infrastructure:
- Application
- Domain
- Vendor
Application:
- Domain