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