-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.architecture.yaml
76 lines (76 loc) · 1.76 KB
/
.architecture.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
source-dir: src/library/
rules:
-
description: >
Abstract layer shouldn't import concrete code.
type: forbid-import
forbidden:
- Category.**
- Rewriting.**
within: Abstract.**
level: error
-
description: >
Categorial concepts are not used in Base modules.
type: forbid-import
forbidden:
- Abstract.**
- Category.**
- Rewriting.**
within:
- Base.**
level: error
-
description: >
Categorial concepts are not used for regular logic.
type: forbid-import
forbidden:
- Abstract.**
- Category.**
- Rewriting.**
within:
- Logic.**
level: error
-
description: >
Categorial concepts are not used in regular data structures.
type: forbid-import
forbidden:
- Abstract.**
- Category.**
- Rewriting.**
within: Data.**
level: warning
-
description: >
Rewriting concepts are not used in pure categorial modules.
type: forbid-import
forbidden:
- Abstract.Rewriting.**
- Abstract.Constraint.**
within: Abstract.Category.**
level: error
-
description: >
Implementation of TypedGraph category is properly encapsulated.
type: forbid-import
forbidden: Category.TypedGraph.*
outside:
- Category.TypedGraph.**
- Category.TypedGraphRule.Category
level: warning
-
description: >
Implementation of TypedGraphRule category is properly encapsulated.
type: forbid-import
forbidden: Category.TypedGraphRule.*
outside: Category.TypedGraphRule.**
level: warning
-
description: >
The XML parser does not contain any logic
type: forbid-import
forbidden:
- Analysis.**
within: XML.**
level: error