-
Notifications
You must be signed in to change notification settings - Fork 3
/
tslint.json
63 lines (63 loc) · 1.55 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
{
"rules": {
"arrow-parens": true,
"ban": [
true,
{
"name": "parseInt",
"message": "Use the \"Number()\" constructor instead. If a Number type is not necessary, use \"*.toString()\"."
}
],
"curly": true,
"cyclomatic-complexity": [
true,
25
],
"indent": [
true,
"spaces",
2
],
"member-access": [
true,
"check-accessor",
"check-constructor"
],
"no-conditional-assignment": true,
"no-empty": true,
"no-invalid-template-strings": true,
"no-irregular-whitespace": true,
"no-magic-numbers": true,
"no-misused-new": true,
"no-reference": true,
"no-string-literal": true,
"no-trailing-whitespace": true,
"no-unused-expression": [
true,
"allow-new"
],
"no-unused-variable": [
true,
{
"ignore-pattern": "^_"
}
],
"no-var-keyword": true,
"number-literal-format": true,
"object-literal-sort-keys": true,
"prefer-const": true,
"prefer-for-of": true,
"quotemark": [
true,
"single"
],
"semicolon": [
true,
"never"
],
"strict-type-predicates": true,
"triple-equals": true,
"typeof-compare": true,
"use-isnan": true
}
}