Translated using Weblate (Thai)
[oweals/peertube.git] / client / tslint.json
1 {
2   "extends": [ "tslint-angular", "tslint-config-standard" ],
3   "rules": {
4     "no-inferrable-types": true,
5     "eofline": true,
6     "max-line-length": [true, 140],
7     "no-floating-promises": false,
8     "no-unused-variable": false, // Memory issues
9     "await-promise": [true, "PromiseLike"],
10     "member-ordering": [true, {
11       "order": [
12         "public-static-field",
13         "private-static-field",
14         "public-instance-field",
15         "private-instance-field",
16         "public-constructor",
17         "private-constructor",
18         "public-instance-method",
19         "protected-instance-method",
20         "private-instance-method"
21         ]}
22     ],
23     "variable-name": [
24       true,
25       "ban-keywords",
26       "check-format",
27       "allow-leading-underscore",
28       "allow-pascal-case",
29       "allow-trailing-underscore"
30     ],
31
32     "no-shadowed-variable": false,
33     "no-bitwise": false,
34     "max-classes-per-file": false,
35     "interface-over-type-literal": false
36   }
37 }