-
Notifications
You must be signed in to change notification settings - Fork 3
/
tslint.json
61 lines (61 loc) · 2.18 KB
/
tslint.json
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
57
58
59
60
61
{
"extends": ["tslint:recommended", "tslint-eslint-rules"],
"rules": {
"no-console": false,
"no-constant-condition": true,
"triple-equals": true,
"no-multi-spaces": true,
"array-bracket-spacing": [true, "never"],
"block-spacing": [true, "always"],
"brace-style": [true, "1tbs", { "allowSingleLine": true }],
"ter-indent": [2, 4, {"SwitchCase": 1}],
"linebreak-style": [true, "LF"],
"no-bitwise": false,
"indent": [true, "spaces", 4],
"no-trailing-whitespace": true,
"object-curly-spacing": [false],
"object-literal-key-quotes": [true, "as-needed"],
"quotemark": [true, "single", "avoid-escape"],
"space-in-parens": [true, "never"],
"ter-no-tabs": true,
"ter-arrow-parens": [true],
"no-shadowed-variable": false,
"ordered-imports": [false],
"only-arrow-functions": [false],
"forin": false,
"max-classes-per-file": [false, 1],
"class-name": true,
"interface-name": [false],
"no-namespace": [true, "allow-decalarations"],
"object-literal-sort-keys": false,
"prefer-for-of": false,
"trailing-comma": [true, { "singleline": "never", "multiline": "always" }],
"no-string-literal": false,
"no-var-requires": false,
"no-irregular-whitespace": true,
"no-default-export": true,
"variable-name": [false],
"no-empty": false,
"one-variable-per-declaration": false,
"align": false,
"no-redundant-jsdoc": true,
"jsdoc-format": true,
"no-inferrable-types": true,
"semicolon": [true, "always", "ignore-bound-class-methods"],
"member-access": true,
"member-ordering": [
true,
{
"order": [
"public-instance-field",
"protected-instance-field",
"private-instance-field",
"constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
]
}
}