-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
120 lines (120 loc) · 2.74 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"extends": "tslint:recommended",
"linterOptions": {
"exclude": [
"src/scripts/*.ts",
"src/serviceWorker.ts"
]
},
"rules": {
"no-reference": false,
"max-line-length": false,
"no-arg": false,
"no-bitwise": false,
"no-conditional-assignment": false,
"no-consecutive-blank-lines": false,
"adjacent-overload-signatures": true,
"new-parens": true,
"no-unused-expression": true,
"curly": [
true,
"ignore-same-line"
],
"no-floating-promises": [
false,
"Bluebird",
"Navybird"
],
"quotemark": false,
"align": false,
"ordered-imports": [
true,
{
"import-sources-order": "case-insensitive",
"grouped-imports": false,
"named-imports-order": "case-insensitive",
"module-source-path": "full"
}
],
"ban-types": false,
"no-var-requires": false,
"no-implicit-dependencies": [true, "dev", ["@jojo"]],
"no-angle-bracket-type-assertion": false,
"semicolon": false,
"whitespace": false,
"trailing-comma": false,
"object-literal-sort-keys": false,
"member-access": false,
"member-ordering": false,
"no-trailing-whitespace": true,
"max-classes-per-file": false,
"no-shadowed-variable": false,
"eofline": false,
"no-namespace": false,
"no-empty": false,
"object-literal-shorthand": false,
"no-string-literal": false,
"one-variable-per-declaration": false,
"array-type": false,
"no-empty-interface": false,
"unified-signatures": false,
"object-literal-key-quotes": false,
"space-before-function-paren": [
true,
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always",
"method": "never",
"constructor": "never"
}
],
"triple-equals": false,
"prefer-for-of": {
"severity": "warning"
},
"prefer-const": {
"severity": "warning",
"options": {
"destructuring": "all"
}
},
"no-console": {
"severity": "warning",
"options": [
"debug",
"info",
"log",
"time",
"timeEnd",
"trace"
]
},
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case",
"allow-snake-case"
],
"no-duplicate-super": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": [
true,
"check-parameters"
],
"no-invalid-template-strings": {
"severity": "warning"
},
"radix": true,
"prefer-template": {
"severity": "warning"
},
"cyclomatic-complexity": {
"severity": "warning",
"options": 20
},
"interface-name": false
}
}