-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
79 lines (79 loc) · 2.52 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
{
"rulesDirectory": ["./node_modules/tslint-microsoft-contrib/"],
"rules": {
"class-name": true,
"comment-format": [false],
"cyclomatic-complexity": [true, 20],
"indent": [true, "spaces"],
"insecure-random": true,
"member-access": true,
"mocha-avoid-only": true,
"no-arg": true,
"no-banned-terms": true,
"no-boolean-literal-compare": true,
"no-construct": true,
"no-default-export": true,
"no-document-domain": true,
"no-document-write": true,
"no-duplicate-case": true,
"no-duplicate-super": true,
"no-duplicate-variable": true,
"no-empty-interfaces": true,
"no-eval": true,
"no-for-in-array": true,
"no-internal-module": true,
"no-misused-new": true,
"no-trailing-whitespace": true,
"no-unsafe-finally": true,
"no-var-keyword": true,
"one-line": [true, "check-open-brace", "check-whitespace"],
"ordered-imports": [
false,
{
"import-sources-order": "case-insensitive",
"named-mports-order": "case-insensitive"
}
],
"prefer-const": true,
"prefer-for-of": true,
"prefer-template": [true, "allow-single-concat"],
"radix": true,
"react-a11y-anchors": true,
"react-a11y-event-has-role": true,
"react-a11y-aria-unsupported-elements": true,
"react-a11y-img-has-alt": true,
"react-a11y-lang": true,
"react-a11y-tabindex-no-positive": true,
"react-this-binding-issue": [
true,
{
"allow-anonymous-listeners": true
}
],
"semicolon": [
true,
"always",
"ignore-bound-class-methods",
"ignore-interfaces"
],
"switch-default": true,
"quotemark": [true, "single", "jsx-single"],
"triple-equals": [true, "allow-null-check"],
"typedef-whitespace": [false, {
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}],
"valid-typeof": true,
"variable-name": [true, "ban-keywords"],
"whitespace": [true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-module"
]
}
}