-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
79 lines (79 loc) · 3.05 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
{
"extends": "tslint:recommended",
"rules": {
"quotemark": [true, "single"],
"max-line-length": [true, {
"limit": 130,
"ignore-pattern": "^import"
}],
"semicolon": [true, "always"],
"curly": true,
"no-arg": true,
"no-string-literal": false,
"no-eval": true,
"no-any": false,
"encoding": true,
"no-empty": true,
"no-empty-interface": false,
"new-parens": true,
"class-name": true,
"no-bitwise": false,
"no-debugger": true,
"member-access": true,
"import-spacing": false,
"no-var-keyword": true,
"interface-name": [true],
"no-var-requires": false,
"no-duplicate-super": true,
"unified-signatures": true,
"max-classes-per-file": [true, 3],
"newline-before-return": true,
"no-irregular-whitespace": true,
"promise-function-async": false,
"object-literal-sort-keys": false,
"no-angle-bracket-type-assertion": false,
"arrow-parens": [true, "ban-single-arg-parens"],
"triple-equals": [true, "allow-undefined-check"],
"space-before-function-paren": [false, "always"],
"prefer-template": [true, "allow-single-concat"],
"member-ordering": [false, {"order": "fields-first"}],
"no-trailing-whitespace": {"severity": "warning"},
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-snake-case"],
"one-variable-per-declaration": [true, "ignore-for-loop"],
"whitespace": [true, "check-branch", "check-operator", "check-typecast", "check-type"],
"trailing-comma": [true, {"multiline": "always", "singleline": "never"}],
"no-unused-expression": [false, "allow-fast-null-checks", "allow-new"],
"no-unused-variable": true,
"only-arrow-functions": [true, "allow-declarations", "allow-named-functions"],
"adjacent-overload-signatures": true,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": [true, 1],
"no-console": [true, "log", "error", "debug", "info", "time", "trace", "timeEnd"],
"comment-format": [true, "check-space", {"ignore-words": ["TODO", "TODO:"]}],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}
],
"ordered-imports": [
true,
{
"named-imports-order": "lowercase-first",
"import-sources-order": "lowercase-first"
}
],
"radix": true
}
}