-
Notifications
You must be signed in to change notification settings - Fork 3
/
tslint.json
97 lines (97 loc) · 2.87 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
88
89
90
91
92
93
94
95
96
97
{
"extends": "tslint:recommended",
"rules": {
"max-classes-per-file": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"adjacent-overload-signatures": true,
"member-ordering": [true, {
"order": [
"public-static-field",
"private-static-field",
"public-instance-field",
"protected-instance-field",
"private-instance-field",
"constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}],
"no-any": false,
"no-import-side-effect": false,
"no-var-requires": false,
"prefer-for-of": true,
"promise-function-async": true,
"unified-signatures": true,
"await-promise": true,
"curly": true,
"forin": true,
"no-arg": true,
"no-conditional-assignment": true,
"no-construct": true,
"no-debugger": true,
"no-duplicate-super": true,
"no-empty": true,
"no-eval": true,
"no-floating-promises": true,
"no-invalid-template-strings": true,
"no-shadowed-variable": false,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"radix": true,
"restrict-plus-operands": true,
"strict-boolean-expressions": false,
"strict-type-predicates": true,
"typeof-compare": true,
"use-isnan": true,
"cyclomatic-complexity": [true, 20],
"deprecation": true,
"eofline": true,
"indent": [true, "spaces", 2],
"linebreak-style": [true, "LF"],
"prefer-const": true,
"arrow-parens": true,
"arrow-return-shorthand": true,
"class-name": true,
"completed-docs": [true, {
"classes": true,
"enums": true,
"interfaces": true,
"types": true
}],
"interface-name": [true, "always-prefix"],
"newline-before-return": false,
"new-parens": true,
"no-irregular-whitespace": true,
"no-trailing-whitespace": true,
"no-unnecessary-callback-wrapper": true,
"number-literal-format": true,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-shorthand": true,
"only-arrow-functions": false,
"one-variable-per-declaration": true,
"prefer-function-over-method": true,
"semicolon": [true, "never"],
"space-before-function-paren": [true, {"anonymous": "always", "named": "never", "asyncArrow": "always"}],
"trailing-comma": false,
"no-angle-bracket-type-assertion": false,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"],
"max-line-length": [true, 150],
"max-file-line-count": [true, 1000],
"no-consecutive-blank-lines": [true, 2],
"triple-equals": true,
"quotemark": [true, "single", "avoid-escape"],
"no-console": [
true,
"debug",
"info",
"log",
"time",
"timeEnd",
"trace"
]
}
}