aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/tslint.json
blob: d9983182e6a4485326dafc8673fe74f0e8e95eae (plain) (blame)
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
{
  "extends": [ "tslint-angular", "tslint-config-standard" ],
  "rules": {
    "deprecation": {
      "severity": "warning"
    },
    "no-inferrable-types": true,
    "eofline": true,
    "max-line-length": [true, 140],
    "no-floating-promises": false, // Memory issues
    "await-promise": [true, "PromiseLike"],
    "member-ordering": [true, {
      "order": [
        "public-static-field",
        "private-static-field",
        "public-instance-field",
        "private-instance-field",
        "public-constructor",
        "private-constructor",
        "public-instance-method",
        "protected-instance-method",
        "private-instance-method"
        ]}
    ],
    "variable-name": [
      true,
      "ban-keywords",
      "check-format",
      "allow-leading-underscore",
      "allow-pascal-case",
      "allow-trailing-underscore"
    ],

    "no-shadowed-variable": false,
    "no-bitwise": false,
    "max-classes-per-file": false,
    "interface-over-type-literal": false
  }
}