forked from karthikv/purview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
49 lines (49 loc) · 1.27 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
{
"extends": [
"tslint:recommended",
"tslint-config-prettier"
],
"rules": {
"member-access": false,
"interface-name": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"typedef": [
true,
"call-signature",
"parameter",
"property-declaration"
],
"no-unbound-method": true,
"no-conditional-assignment": false,
"max-classes-per-file": false,
"no-namespace": false,
"member-ordering": false,
"no-floating-promises": [true, "Bluebird", "AxiosPromise"],
"await-promise": [true, "Bluebird", "AxiosPromise"],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
],
"no-restricted-globals": [true, "name", "length", "location"],
"no-unused-expression": [true, "allow-new"],
"strict-boolean-expressions": [
true,
"allow-null-union",
"allow-undefined-union",
"allow-string",
"allow-mix",
"ignore-rhs"
],
"no-unnecessary-type-assertion": true,
"no-object-literal-type-assertion": [true, {"allow-arguments": true}],
"use-default-type-parameter": true,
"strict-type-predicates": true
},
"linterOptions": {
"exclude": ["**/*.json"]
}
}