This repository has been archived by the owner on Jun 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 148
/
tslint.json
59 lines (56 loc) · 2.01 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
{
"extends": "tslint:all",
"rules": {
"arrow-parens": [true, "ban-single-arg-parens"],
"comment-format": [true, "check-space"],
"indent": [true, "spaces"],
"interface-name": [true, "never-prefix"],
"max-line-length": [true, 150],
"object-literal-key-quotes": [true, "as-needed"],
"only-arrow-functions": [true, "allow-declarations"],
"variable-name": [true, "check-format", "allow-leading-underscore"],
"strict-comparisons": [
true,
{
"allow-object-equal-comparison": true,
"allow-string-order-comparison": true
}
],
// TODO
"strict-boolean-expressions": false,
"no-unnecessary-type-assertion": false, // false positive
"no-this-assignment": [true, { "allow-destructuring": true }],
"typedef": false,
"no-any": false,
"no-inferred-empty-object-type": false,
"no-unsafe-any": false,
"prefer-template": false,
"restrict-plus-operands": false,
"completed-docs": false,
"file-name-casing": false,
"forin": false,
"increment-decrement": false,
"linebreak-style": false,
"max-classes-per-file": false,
"member-access": false,
"member-ordering": false,
"newline-before-return": false,
"newline-per-chained-call": false,
"no-console": false,
"no-default-export": false,
"no-default-import": false,
"no-unused-variable": false,
"no-magic-numbers": false,
"no-namespace": false,
"no-non-null-assertion": false,
"no-object-literal-type-assertion": false,
"no-use-before-declare": false,
"no-parameter-properties": false,
"no-parameter-reassignment": false,
"no-require-imports": false,
"no-void-expression": false,
"object-literal-sort-keys": false,
"promise-function-async": false,
"type-literal-delimiter": false
}
}