-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
49 lines (49 loc) · 925 Bytes
/
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-immutable"
],
"rules": {
"quotemark": [
true,
"single",
"jsx-double",
"avoid-template",
"avoid-escape"
],
"no-var-keyword": true,
"typedef": [
true,
"call-signature"
],
"max-line-length": [
true,
100
],
"semicolon": [
true,
"always"
],
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "ignore",
"typeLiterals": "always",
"imports": "always",
"exports": "always"
}
}
],
"no-expression-statement": false,
// Immutability rules
"readonly-keyword": false,
"readonly-array": false,
"no-let": true,
"no-object-mutation": true,
// Functional style rules
"no-mixed-interface": false,
"ignore-local": false
}
}