forked from Lowgular/project-storefront-freshcart-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoding-standards.json
50 lines (50 loc) · 1.05 KB
/
coding-standards.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
{
"entityRelations": {
"component": {
"model": ["PROPERTY"],
"queryModel": ["PROPERTY"],
"service": ["CONSTRUCTOR"],
"router": ["CONSTRUCTOR"],
"activatedRoute": ["CONSTRUCTOR"]
},
"service": {
"httpClient": ["CONSTRUCTOR"],
"model": ["PARAMETER", "RETURN"]
}
},
"external": {
"httpClient": {
"type": "HttpClient",
"module": "@angular/common/http"
},
"router": {
"type": "Router",
"module": "@angular/router"
},
"activatedRoute": {
"type": "ActivatedRoute",
"module": "@angular/router"
}
},
"entities": {
"component": {
"type": "ANGULAR_COMPONENT",
"folder": "components/$name$",
"config": {
"stylesExtension": "none",
"viewEncapsulation": "None",
"selector": "generated",
"changeDetectionStrategy": "OnPush"
}
},
"model": {
"type": "DATA_STRUCTURE"
},
"service": {
"type": "ANGULAR_SERVICE"
},
"queryModel": {
"type": "DATA_STRUCTURE"
}
}
}