-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
85 lines (85 loc) · 2.37 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"rules": {
"adjacent-overload-signatures": true,
"member-access": [true],
"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"
]
}
],
"no-any": true,
"no-empty-interface": true,
"no-import-side-effect": [
true,
{
"ignore-module": "^rxjs"
}
],
"no-magic-numbers": true,
"no-internal-module": true,
"no-namespace": false,
"no-non-null-assertion": true,
"no-parameter-reassignment": true,
"no-var-requires": true,
"only-arrow-functions": false,
"prefer-for-of": true,
"promise-function-async": true,
"await-promise": true,
"ban-comma-operator": true,
"curly": [true, "ignore-same-line"],
"forin": true,
"no-unused-expression": true,
"no-conditional-assignment": true,
"no-console": true,
"no-construct": true,
"no-var-keyword": true,
"no-eval": true,
"no-dynamic-delete": true,
"no-implicit-dependencies": [true, "dev"],
"no-floating-promises": true,
"no-invalid-this": true,
"no-return-await": true,
"no-shadowed-variable": true,
"no-string-throw": true,
"no-unsafe-finally": true,
"restrict-plus-operands": true,
"triple-equals": true,
"eofline": false,
"quotemark": [true, "single"],
"prefer-const": true,
"import-spacing": true,
"no-consecutive-blank-lines": true,
"prefer-template": [true, "allow-single-concat"],
"semicolon": [true, "always"],
"prefer-readonly": true,
"trailing-comma": false,
"class-name": true,
"comment-format": [true, "check-space", "check-uppercase"],
"ordered-imports": [true],
"no-default-export": true,
"arrow-return-shorthand": true,
"arrow-parens": false,
"max-line-length": [true, 180],
"interface-name": [false],
"array-type": [false],
"no-empty": true,
"object-literal-sort-keys": false,
"max-classes-per-file": [true, 1],
"variable-name": [true],
"one-line": [false],
"one-variable-per-declaration": [false]
}
}