-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
60 lines (60 loc) · 2.25 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
{
"defaultSeverity": "error",
"extends": [],
"jsRules": {},
"rules": {
"adjacent-overload-signatures": true,
"array-type": [true, "array"],
"await-promise": [true, "Bluebird", "Thenable"],
"ban-comma-operator": true,
"ban-types": [
true,
["Object", "Avoid using the `Object` type. Did you mean `object`?"],
["Function", "Avoid using the `Function` type. Prefer a specific function type, like `() => void`."],
["Boolean", "Avoid using the `Boolean` type. Did you mean `boolean`?"],
["Number", "Avoid using the `Number` type. Did you mean `number`?"],
["String", "Avoid using the `String` type. Did you mean `string`?"],
["Symbol", "Avoid using the `Symbol` type. Did you mean `symbol`?"]
],
"curly": [true, "ignore-same-line"],
"forin": true,
"no-arg": true,
"no-conditional-assignment": true,
"no-construct": true,
"no-duplicate-super": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-floating-promises": true,
"no-inferrable-types": [true, "ignore-params", "ignore-properties"],
"no-invalid-this": true,
"no-object-literal-type-assertion": true,
"no-parameter-reassignment": true,
"no-reference": true,
"no-return-await": true,
"no-shadowed-variable": true,
"no-sparse-arrays": true,
"no-string-literal": true,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-this-assignment": [true, { "allow-destructuring": true }],
"no-this-assignment": [true, { "allow-destructuring": true }],
"no-unnecessary-type-assertion": true,
"no-unsafe-finally": true,
"no-var-keyword": true,
"no-var-requires": true,
"no-void-expression": true,
"only-arrow-functions": [true, "allow-declarations", "allow-named-functions"],
"prefer-const": true,
"prefer-for-of": true,
"prefer-object-spread": true,
"promise-function-async": true,
"radix": true,
"restrict-plus-operands": true,
"strict-type-predicates": true,
"triple-equals": [true, "allow-null-check", "allow-undefined-check"],
"typedef": [true, "call-signature", "parameter", "member-variable-declaration", "property-declaration"],
"use-isnan": true
},
"rulesDirectory": []
}