-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
31 lines (31 loc) · 858 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
{
"defaultSeverity":"error",
"extends":["tslint:recommended"],
"jsRules":{},
"rules":{
"max-line-length":[true,{"limit":120}],
"new-parens":true,
"no-arg":true,
"no-bitwise":false,
"no-conditional-assignment":true,
"no-consecutive-blank-lineas":false,
"no-console":{
"severity":"warning",
"options":["debug","info","log","time","timeEnd","trace"]
},
"forin":false,
"trailing-comma":false,
"prefer-for-of":false,
"no-angle-bracket-type-assertion":false,
"no-unused-expression":true,
"no-namespace":false,
"ban-types":[
true,
["String","Use `string` instead"],
["Boolean","Use `boolean` instead"],
["Number","Use `number` instead"],
["Symbol","Use `symbol` instead"],
["Object","Avoid using the `Object`type. Did you mean `object`"]
]
}
}