forked from sverweij/dependency-cruiser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault-theme.json
141 lines (141 loc) · 3.62 KB
/
default-theme.json
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"graph": {
"ordering": "out",
"rankdir": "LR",
"splines": "true",
"overlap": "false",
"nodesep": "0.16",
"ranksep": "0.18",
"fontname": "Helvetica-bold",
"fontsize": "9",
"style": "rounded,bold,filled",
"fillcolor": "#ffffff",
"compound": "true"
},
"node": {
"shape": "box",
"style": "rounded, filled",
"height": "0.2",
"color": "black",
"fillcolor": "#ffffcc",
"fontcolor": "black",
"fontname": "Helvetica",
"fontsize": 9
},
"edge": {
"arrowhead": "normal",
"arrowsize": "0.6",
"penwidth": "2.0",
"color": "#00000033",
"fontname": "Helvetica",
"fontsize": "9"
},
"modules": [
{
"criteria": { "consolidated": true },
"attributes": { "shape": "box3d" }
},
{
"criteria": { "rules[0].severity": "error" },
"attributes": { "fontcolor": "red", "color": "red" }
},
{
"criteria": { "rules[0].severity": "warn" },
"attributes": { "fontcolor": "orange", "color": "orange" }
},
{
"criteria": { "rules[0].severity": "info" },
"attributes": { "fontcolor": "blue", "color": "blue" }
},
{
"criteria": { "valid": false },
"attributes": { "fontcolor": "red", "color": "red" }
},
{
"criteria": { "couldNotResolve": true },
"attributes": { "color": "red", "fontcolor": "red" }
},
{
"criteria": { "coreModule": true },
"attributes": { "color": "grey", "fontcolor": "grey" }
},
{
"criteria": { "source": "node_modules" },
"attributes": { "fillcolor": "#c40b0a1a", "fontcolor": "#c40b0a" }
},
{
"criteria": { "matchesDoNotFollow": true },
"attributes": { "shape": "folder" }
},
{
"criteria": { "orphan": true },
"attributes": { "fillcolor": "#ccffcc" }
},
{
"criteria": { "source": "\\.json$" },
"attributes": { "fillcolor": "#ffee44" }
},
{
"criteria": { "source": "\\.jsx$" },
"attributes": { "fillcolor": "#ffff77" }
},
{
"criteria": { "source": "\\.vue$" },
"attributes": { "fillcolor": "#41f083" }
},
{
"criteria": { "source": "\\.ts$" },
"attributes": { "fillcolor": "#ddfeff" }
},
{
"criteria": { "source": "\\.tsx$" },
"attributes": { "fillcolor": "#bbfeff" }
},
{
"criteria": { "source": "(\\.coffee|\\.litcoffee|\\.coffee\\.md)$" },
"attributes": { "fillcolor": "#eeccaa" }
},
{
"criteria": { "source": "(\\.csx|\\.cjsx)$" },
"attributes": { "fillcolor": "#eebb77" }
},
{
"criteria": { "source": "\\.ls$/g" },
"attributes": { "fillcolor": "pink" }
}
],
"dependencies": [
{
"criteria": { "rules[0].severity": "error" },
"attributes": { "fontcolor": "red", "color": "red" }
},
{
"criteria": { "rules[0].severity": "warn" },
"attributes": { "fontcolor": "orange", "color": "orange" }
},
{
"criteria": { "rules[0].severity": "info" },
"attributes": { "fontcolor": "blue", "color": "blue" }
},
{
"criteria": { "valid": false },
"attributes": { "fontcolor": "red", "color": "red" }
},
{
"criteria": { "circular": true },
"attributes": { "arrowhead": "normalnoneodot" }
},
{
"criteria": { "preCompilationOnly": true },
"attributes": { "arrowhead": "onormal", "penwidth": "1.0" }
},
{
"criteria": { "coreModule": true },
"attributes": { "style": "dashed", "penwidth": "1.0" }
},
{
"criteria": { "dependencyTypes[0]": "npm" },
"attributes": { "style": "dashed", "penwidth": "1.0" }
}
]
}