forked from microsoft/cognitive-services-speech-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
60 lines (53 loc) · 1.23 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
{
/*
Using recommended community rules
https://github.com/palantir/tslint/blob/master/src/configs/recommended.ts
*/
"extends": "tslint:recommended",
"rules": {
"max-line-length": [false],
"member-ordering":[
true, {
"order": [
"private-static-field",
"private-instance-field",
"constructor",
"public-static-method",
"public-instance-method",
"protected-static-method",
"protected-instance-method",
"private-static-method",
"private-instance-method"
]
}
],
"no-reference": true,
"no-namespace": true,
"no-bitwise": false,
"no-shadowed-variable": false,
"only-arrow-functions": [
true
],
"trailing-comma": [
true, {
"singleline": "never",
"multiline": "ignore"
}
],
"only-arrow-functions": [true, "allow-declarations"],
/* Enabling strictest possible type checking on every thing we write */
"typedef": [
true,
"arrow-parameter",
"call-signature",
"member-variable-declaration",
"parameter",
"property-declaration"
]
},
"linterOptions": {
"exclude": [
"secrets/*.ts"
]
}
}