1
|
{
|
2
|
"rulesDirectory": [
|
3
|
"node_modules/codelyzer"
|
4
|
],
|
5
|
"rules": {
|
6
|
"arrow-return-shorthand": true,
|
7
|
"callable-types": true,
|
8
|
"class-name": true,
|
9
|
"comment-format": [
|
10
|
true,
|
11
|
"check-space"
|
12
|
],
|
13
|
"curly": true,
|
14
|
"eofline": true,
|
15
|
"forin": true,
|
16
|
"import-blacklist": [
|
17
|
true
|
18
|
],
|
19
|
"import-spacing": true,
|
20
|
"indent": [
|
21
|
true,
|
22
|
"spaces"
|
23
|
],
|
24
|
"interface-over-type-literal": true,
|
25
|
"label-position": true,
|
26
|
"max-line-length": [
|
27
|
true,
|
28
|
140
|
29
|
],
|
30
|
"member-access": false,
|
31
|
"member-ordering": [
|
32
|
true,
|
33
|
{
|
34
|
"order": [
|
35
|
"static-field",
|
36
|
"instance-field",
|
37
|
"static-method",
|
38
|
"instance-method"
|
39
|
]
|
40
|
}
|
41
|
],
|
42
|
"no-arg": true,
|
43
|
"no-bitwise": true,
|
44
|
"no-console": [
|
45
|
true,
|
46
|
"debug",
|
47
|
"info",
|
48
|
"time",
|
49
|
"timeEnd",
|
50
|
"trace"
|
51
|
],
|
52
|
"no-construct": true,
|
53
|
"no-debugger": true,
|
54
|
"no-duplicate-super": true,
|
55
|
"no-empty": false,
|
56
|
"no-empty-interface": true,
|
57
|
"no-eval": true,
|
58
|
"no-inferrable-types": [
|
59
|
true,
|
60
|
"ignore-params"
|
61
|
],
|
62
|
"no-misused-new": true,
|
63
|
"no-non-null-assertion": true,
|
64
|
"no-shadowed-variable": true,
|
65
|
"no-string-literal": false,
|
66
|
"no-string-throw": true,
|
67
|
"no-switch-case-fall-through": true,
|
68
|
"no-trailing-whitespace": true,
|
69
|
"no-unnecessary-initializer": true,
|
70
|
"no-unused-expression": true,
|
71
|
"no-use-before-declare": true,
|
72
|
"no-var-keyword": true,
|
73
|
"object-literal-sort-keys": false,
|
74
|
"one-line": [
|
75
|
true,
|
76
|
"check-open-brace",
|
77
|
"check-catch",
|
78
|
"check-else",
|
79
|
"check-whitespace"
|
80
|
],
|
81
|
"prefer-const": true,
|
82
|
"quotemark": [
|
83
|
true,
|
84
|
"single"
|
85
|
],
|
86
|
"radix": true,
|
87
|
"semicolon": [
|
88
|
true,
|
89
|
"always"
|
90
|
],
|
91
|
"triple-equals": [
|
92
|
true,
|
93
|
"allow-null-check"
|
94
|
],
|
95
|
"typedef-whitespace": [
|
96
|
true,
|
97
|
{
|
98
|
"call-signature": "nospace",
|
99
|
"index-signature": "nospace",
|
100
|
"parameter": "nospace",
|
101
|
"property-declaration": "nospace",
|
102
|
"variable-declaration": "nospace"
|
103
|
}
|
104
|
],
|
105
|
"typeof-compare": true,
|
106
|
"unified-signatures": true,
|
107
|
"variable-name": false,
|
108
|
"whitespace": [
|
109
|
true,
|
110
|
"check-branch",
|
111
|
"check-decl",
|
112
|
"check-operator",
|
113
|
"check-separator",
|
114
|
"check-type"
|
115
|
],
|
116
|
"directive-selector": [
|
117
|
true,
|
118
|
"attribute",
|
119
|
"app",
|
120
|
"camelCase"
|
121
|
],
|
122
|
"component-selector": [
|
123
|
true,
|
124
|
"element",
|
125
|
"app",
|
126
|
"kebab-case"
|
127
|
],
|
128
|
"use-input-property-decorator": true,
|
129
|
"use-output-property-decorator": true,
|
130
|
"use-host-property-decorator": true,
|
131
|
"no-input-rename": true,
|
132
|
"no-output-rename": true,
|
133
|
"use-life-cycle-interface": true,
|
134
|
"use-pipe-transform-interface": true,
|
135
|
"component-class-suffix": true,
|
136
|
"directive-class-suffix": true,
|
137
|
"no-access-missing-member": true,
|
138
|
"templates-use-public": true,
|
139
|
"invoke-injectable": true
|
140
|
}
|
141
|
}
|