forked from bokeh/bokeh
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
34 lines (34 loc) · 911 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
{
"rules": {
"arrow-return-shorthand": true,
"prefer-const": [true, {"destructuring": "all"}],
"trailing-comma": [true, {
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "always",
"typeLiterals": "ignore"
},
"singleline": {
"objects": "never",
"arrays": "ignore",
"functions": "never",
"typeLiterals": "never"
},
"esSpecCompliant": true
}],
"ban-types": [true,
["Number", "Use 'number' instead."],
["String", "Use 'string' instead."],
["Boolean", "Use 'boolean' instead."],
["Array<.*>", "Use 'T[]' instead."]
],
"object-literal-key-quotes": [true, "as-needed"],
"no-construct": true,
"no-var-keyword": true,
"no-string-throw": true,
"no-invalid-template-strings": true,
"return-type": true,
"no-debugger": true
}
}