-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
68 lines (68 loc) · 2.22 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
{
"defaultSeverity": "error",
"rulesDirectory": [],
"extends": ["tslint:all"],
"jsRules": {},
"rules": {
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"completed-docs": false,
"object-literal-sort-keys": false,
"trailing-comma": false,
"member-ordering": [
true,
{
"order": [
"private-static-field",
"protected-static-field",
"public-static-field",
"private-instance-field",
"protected-instance-field",
"public-instance-field",
"private-static-method",
"protected-static-method",
"public-static-method",
"public-constructor",
"protected-constructor",
"private-constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"member-access": [true, "no-public"],
"typedef": [true,
"call-signature",
"parameter",
"property-declaration",
"member-variable-declaration"
],
"file-name-casing": [true, "kebab-case"],
"only-arrow-functions": [true, "allow-named-functions"],
"no-magic-numbers": false,
"no-void-expression": [true, "ignore-arrow-function-shorthand"],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
"strict-type-predicates": false,
"triple-equals": false,
"max-line-length": false,
"await-promise": [true, "DeferredPromise", "PromiseLike"],
"no-floating-promises": [true, "DeferredPromise"],
"interface-name": [true, "never-prefix"],
"one-line": [true, "check-open-brace", "check-whitespace"],
"interface-over-type-literal": false,
"type-literal-delimiter": false,
"no-any": false,
"prefer-function-over-method": false,
"newline-before-return": false,
"increment-decrement": false,
"no-return-await": false,
"comment-format": [true, "check-space"],
"switch-final-break": [true, "always"],
"radix": false,
"no-shadowed-variable": false,
"array-type": [true, "array"],
"align": [true, "elements", "members", "parameters", "statements"],
"newline-per-chained-call": false,
"no-inferrable-types": false
}
}