forked from matrix-discord/mx-puppet-discord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
42 lines (42 loc) · 1.04 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
{
"extends": "tslint:recommended",
"rules": {
"ordered-imports": false,
"no-trailing-whitespace": "error",
"max-classes-per-file": {
"severity": "warning"
},
"object-literal-sort-keys": "off",
"no-any":{
"severity": "warning"
},
"arrow-return-shorthand": true,
"no-magic-numbers": [true, -1, 0, 1, 1000],
"prefer-for-of": true,
"typedef": {
"severity": "warning"
},
"await-promise": [true],
"curly": true,
"no-empty": false,
"no-invalid-this": true,
"no-string-throw": {
"severity": "warning"
},
"no-unused-expression": true,
"prefer-const": true,
"object-literal-sort-keys": false,
"indent": [true, "tabs", 1],
"max-file-line-count": {
"severity": "warning",
"options": [500]
},
"no-duplicate-imports": true,
"array-type": [true, "array"],
"promise-function-async": true,
"no-bitwise": true,
"no-debugger": true,
"no-floating-promises": true,
"prefer-template": [true, "allow-single-concat"]
}
}