forked from mapillary/mapillary-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
89 lines (86 loc) · 1.95 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
{
"extends": "tslint:recommended",
"rules": {
// TypeScript Specific
"adjacent-overload-signatures": false,
"ban-types": false,
"member-access": true,
"member-ordering": [
true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
],
"no-any": false,
"no-empty-interface": false,
"no-namespace": false,
"no-non-null-assertion": false,
"no-reference": false,
"prefer-for-of": false,
"typedef": [
true,
"call-signature",
"parameter",
"property-declaration",
"variable-declaration",
"member-variable-declaration"
],
"unified-signatures": false,
// Functionality
"no-bitwise": false,
"no-console": [
true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-submodule-imports": [true, "rxjs"],
"no-switch-case-fall-through": true,
"no-unnecessary-class": [true, "allow-static-only"],
// Maintainability
"max-classes-per-file": false,
"max-line-length": [
true,
140
],
"prefer-const": false,
// Style
"align": [
true,
"parameters",
"arguments",
"statements"
],
"array-type": [true, "array"],
"arrow-return-shorthand": false,
"callable-types": false,
"comment-format": [
true,
"check-space"
],
"import-spacing": false,
"interface-over-type-literal": false,
"no-angle-bracket-type-assertion": false,
"no-unnecessary-initializer": false,
"object-literal-key-quotes": false,
"object-literal-shorthand": false,
"ordered-imports": false,
"space-before-function-paren": false,
"variable-name": [
true,
"check-format",
"allow-leading-underscore",
"ban-keywords"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
}
}