-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
43 lines (43 loc) · 1.88 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
{
"extends": "tslint:recommended",
"rules": {
"max-classes-per-file": [true,1],
"ban-types": [true,["Object","Use {} instead."],["String"]],
"object-literal-sort-keys": true,
"no-duplicate-imports": [true,{"allow-namespace-imports":true}],
"no-magic-numbers": [true,1,2,3],
"trailing-comma": [true,{"multiline":"always","singleline":"never"}],
"no-import-side-effect": true,
"no-reference": true,
"no-default-export": true,
"no-inferrable-types": true,
"no-internal-module": true,
"no-require-imports": true,
"no-mergeable-namespace": true,
"no-non-null-assertion": true,
"no-parameter-reassignment": true,
"no-var-requires": true,
"only-arrow-functions": true,
"no-any": true,
"no-namespace": true,
"linebreak-style": [true,"LF"],
"cyclomatic-complexity": true,
"adjacent-overload-signatures": true,
"indent": [true,"spaces"],
"member-ordering": [true,{"order":"fields-first"}],
"eofline": true,
"no-empty-interface": true,
"prefer-for-of": true,
"promise-function-async": true,
"member-access": true,
"max-file-line-count": [true,300],
"max-line-length": [true,120],
"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"}],
"prefer-readonly": true,
"prefer-const": true,
"typedef": [true,"call-signature","parameter","member-variable-declaration"],
"unified-signatures": true,
"no-unnecessary-type-assertion": null,
"deprecation": true
}
}