This repository has been archived by the owner on Feb 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
tslint.json
85 lines (85 loc) · 2.32 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
{
"extends": [
"tslint-config-standard",
"tslint-config-prettier",
"tslint-no-circular-imports"
],
"defaultSeverity": "error",
"linterOptions": { "exclude": ["**/node_modules"] },
"rules": {
"no-angle-bracket-type-assertion": false,
"one-variable-per-declaration": false,
"prefer-const": true,
"no-var-keyword": true,
"ter-prefer-arrow-callback": [false],
"no-unused-expression": false,
"member-ordering": false,
"variable-name": false,
"no-empty": false,
"curly": false,
"completed-docs": {
"severity": "warning",
"options": {
"functions": { "visibilities": ["exported"] },
"classes": { "visibilities": ["exported"] },
"methods": { "privacies": ["public"] },
"interfaces": { "visibilities": ["exported"] },
"enums": { "visibilities": ["exported"] },
"properties": { "privacies": ["public"] },
"types": { "visibilities": ["exported"] }
}
},
"jsdoc-format": false,
"no-floating-promises": false,
"no-use-before-declare": false,
"no-unused-variable": true,
"no-boolean-literal-compare": false,
"await-promise": [true, "Bluebird"],
"comment-format": true,
"no-duplicate-imports": true,
"jsx-no-multiline-js": false,
"jsx-no-lambda": false,
"ban": [
true,
"eval",
["describe", "only", "Don't focus tests."],
["it", "only", "Don't focus tests."],
{
"name": ["chai", "assert", "equal"],
"message": "Use 'strictEqual' instead."
},
{
"name": ["_", "omit"],
"message": "Use 'Utils.omit instead."
},
{
"name": ["_", "flatten"],
"message": "Use 'Utils.flatten instead."
},
{
"name": ["_", "without"],
"message": "Use 'Utils.without instead."
},
{
"name": ["_", "pick"],
"message": "Use 'Utils.pick instead."
},
{
"name": ["_", "mapValues"],
"message": "Use 'Utils.mapValues instead."
},
{
"name": ["Object", "entries"],
"message": "Use 'Utils.entries instead."
},
{
"name": ["Object", "values"],
"message": "Use 'Utils.values instead."
},
{
"name": ["Object", "keys"],
"message": "Use 'Utils.keys instead."
}
]
}
}