aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tslint-config/tslint.json
blob: a53f1b10ee6211420fa6558c5147a5a0cdd2ca43 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
  "extends": [
    "tslint:latest",
    "tslint-react"
  ],
  "rules": {
    "arrow-parens": [true, "ban-single-arg-parens"],
    "await-promise": true,
    "ordered-imports": false,
    "quotemark": [true, "single", "avoid-escape", "jsx-double"],
    "callable-types": true,
    "interface-name": false,
    "interface-over-type-literal": true,
    "object-literal-sort-keys": false,
    "max-classes-per-file": false,
    "max-line-length": [true, 120],
    "member-ordering": [true,
      "public-before-private",
      "static-before-instance",
      "variables-before-functions"
    ],
    "no-angle-bracket-type-assertion": true,
    "no-default-export": true,
    "no-empty-interface": false,
    "no-floating-promises": true,
    "no-string-throw": true,
    "no-submodule-imports": false,
    "no-implicit-dependencies": [true, "dev"],
    "prefer-const": true,
    "promise-function-async": true,
    "variable-name": [true,
      "ban-keywords",
      "allow-pascal-case"
    ],
    "whitespace": [
        true,
        "check-branch",
        "check-decl",
        "check-operator",
        "check-separator",
        "check-rest-spread",
        "check-type",
        "check-typecast",
        "check-preblock"
    ],
    "jsx-alignment": true,
    "jsx-boolean-value": true,
    "jsx-curly-spacing": [true, "never"],
    "jsx-no-lambda": true,
    "jsx-no-multiline-js": false,
    "jsx-no-string-ref": true,
    "jsx-self-close": true,
    "jsx-wrap-multiline": false,
    "jsx-no-bind": false
  }
}