-
Notifications
You must be signed in to change notification settings - Fork 5
/
base.tslint.json
66 lines (66 loc) · 2.16 KB
/
base.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
61
62
63
64
65
66
{
"rulesDirectory": ["../rules"],
"extends": ["tslint-eslint-rules"],
"rules": {
"tinkoff-method-return-type": true,
"tinkoff-new-line-after-variable-declaration": true,
"tinkoff-new-line-around-control-statement": true,
"tinkoff-angular-member-ordering": true,
"align": [true, "parameters", "statements"],
"arrow-parens": [true, "ban-single-arg-parens"],
"arrow-return-shorthand": true,
"ban": [true, "fit", "fdescribe"],
"class-name": true,
"curly": true,
"eofline": true,
"forin": true,
"interface-name": [true, "never-prefix"],
"jsdoc-format": true,
"label-position": true,
"new-parens": true,
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-console": [true, "log", "debug", "info", "time", "timeEnd", "trace"],
"no-construct": true,
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": false,
"no-eval": true,
"no-inferrable-types": [true, "ignore-params"],
"no-internal-module": true,
"no-reference": true,
"no-string-literal": false,
"no-switch-case-fall-through": true,
"no-unused-expression": true,
"no-var-keyword": true,
"no-consecutive-blank-lines": [true, 2],
"one-variable-per-declaration": true,
"only-arrow-functions": [true, "allow-named-functions"],
"prefer-const": [
true,
{
"destructuring": "any"
}
],
"radix": true,
"trailing-comma": [
true,
{
"multiline": {
"arrays": "never",
"objects": "never",
"functions": "never",
"imports": "never",
"exports": "never",
"typeLiterals": "never"
},
"singleline": "never",
"esSpecCompliant": true
}
],
"triple-equals": true,
"typedef": [true, "parameter"],
"use-isnan": true
}
}