-
Notifications
You must be signed in to change notification settings - Fork 19
/
tslint.json
37 lines (37 loc) · 1.15 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-config-prettier"],
"rules": {
"quotemark": false,
"trailing-comma": false,
"object-literal-sort-keys": false,
"arrow-return-shorthand": true,
"prefer-method-signature": true,
"arrow-parens": false,
"no-unnecessary-type-assertion": true,
"array-type": [true, "array"],
"interface-name": [true, "never-prefix"],
"no-duplicate-imports": true,
"no-console": false,
"no-var-requires": false,
"comment-format": false,
"ordered-imports": true,
"no-default-export": true,
"prefer-readonly": true,
"no-reference": true,
"unified-signatures": true,
"await-promise": true,
"cyclomatic-complexity": [true, 16],
"prefer-const": true,
"no-boolean-literal-compare": true,
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-initializer": true,
"one-variable-per-declaration": true,
"deprecation": true,
"no-mergeable-namespace": true,
"strict-type-predicates": true,
"prefer-conditional-expression": true,
"no-bitwise": false,
"variable-name": ["check-format", "allow-pascal-case"]
}
}