/
tslint.json
42 lines (42 loc) · 1.13 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-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": false,
"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."
}
]
}
}