-
Notifications
You must be signed in to change notification settings - Fork 14
/
tslint.json
87 lines (87 loc) · 2.91 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
86
87
{
"rules": {
"adjacent-overload-signatures": true,
"array-type": [ true, "array" ],
"arrow-parens": true,
"arrow-return-shorthand": true,
"class-name": true,
"comment-format": [ true, "check-space" ],
"completed-docs": [ true, "classes", "functions", "methods", "properties" ],
"curly": true,
"eofline": true,
"import-spacing": true,
"indent": [ true, "spaces" ],
"interface-over-type-literal": true,
"jsdoc-format": true,
"member-ordering": [ true, {
"order": [
"static-field",
"static-method",
"instance-field",
"constructor",
"instance-method"
]
} ],
"new-parens": true,
"no-arg": true,
"no-bitwise": true,
"no-console": [ true, "assert", "count", "debug", "dir", "error", "group", "groupCollapsed", "groupEnd", "info", "log", "profile", "profileEnd", "time", "warn", "trace" ],
"no-construct": true,
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty-interface": true,
"no-empty": true,
"no-eval": true,
"no-floating-promises": true,
"no-for-in-array": true,
"no-inferrable-types": [ true, "ignore-params" ],
"no-internal-module": true,
"no-invalid-this": true,
"no-mergeable-namespace": true,
"no-misused-new": true,
"no-namespace": true,
"no-reference": true,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unsafe-finally": true,
"no-unused-new": true,
"no-var-keyword": true,
"no-var-requires": true,
"no-void-expression": true,
"object-literal-key-quotes": [ true, "as-needed" ],
"object-literal-shorthand": true,
"one-line": [ true, "check-catch", "check-else", "check-finally", "check-open-brace", "check-whitespace" ],
"one-variable-per-declaration": [ true ],
"prefer-for-of": true,
"prefer-method-signature": true,
"promise-function-async": true,
"quotemark": [ true, "single", "avoid-escape" ],
"radix": true,
"restrict-plus-operands": true,
"semicolon": [ true, "always" ],
"switch-default": true,
"trailing-comma": [ true, { "multiline": "never", "singleline": "never" } ],
"triple-equals": [ true, "allow-null-check", "allow-undefined-check" ],
"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"
}
],
"typeof-compare": true,
"unified-signatures": true,
"use-isnan": true,
"whitespace": [ true, "check-branch", "check-decl", "check-operator", "check-module", "check-separator", "check-type" ]
}
}