-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
38 lines (38 loc) · 1.43 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
{
"extends": ["tslint:latest", "tslint-eslint-rules", "tslint-config-prettier"],
"linterOptions": {
"exclude": ["node_modules/**/*.ts"]
},
"defaultSeverity": "warning",
"jsRules": {
"no-empty": true
},
"rules": {
"await-promise": [true, "RequestPromise"],
"cyclomatic-complexity": [true, 15],
"interface-name": [true, "never-prefix"],
"interface-over-type-literal": false,
"match-default-export-name": true,
"member-access": [true, "no-public"],
"no-boolean-literal-compare": true,
"no-inferred-empty-object-type": true,
"no-floating-promises": true,
"no-implicit-dependencies": [true, "dev", ["~src"]],
"no-inferrable-types": [true, "ignore-params", "ignore-properties"],
"no-submodule-imports": false,
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-type-assertion": true,
"no-console": [false],
"no-void-expression": [true, "ignore-arrow-function-shorthand"],
"object-literal-shorthand": false,
"object-literal-sort-keys": false,
"prefer-conditional-expression": false,
"promise-function-async": true,
"triple-equals": [true, "allow-undefined-check", "allow-null-check"],
"max-classes-per-file": [true, 1],
"ordered-imports": false,
"prefer-template": true,
"semicolon": [true, "never"]
},
"rulesDirectory": []
}