-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
41 lines (41 loc) · 1.19 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
{
"rules": {
"indent": [true, "spaces"],
"eofline": true,
"no-consecutive-blank-lines": true,
"only-arrow-functions": [true, "allow-declarations", "allow-named-functions"],
"curly": true,
"no-debugger": true,
"semicolon": [true, "always"],
"quotemark": [true, "double", "avoid-escape"],
"prefer-method-signature": true,
"one-line": [true, "check-catch", "check-finally", "check-else"],
"no-trailing-whitespace": true,
"no-var-keyword": true,
"no-unused-variable": [true],
"no-string-literal": true,
"no-eval": true,
"no-duplicate-variable": true,
"no-empty": true,
"new-parens": true,
"class-name": true,
"arrow-return-shorthand": [true],
"align": [true, "parameters", "arguments", "statements"],
"trailing-comma": [true, "always"],
"prefer-const": true,
"triple-equals": true,
"switch-default": true,
"cyclomatic-complexity": [true, 20],
"max-classes-per-file": [true, 3],
"max-line-length": [true, 95],
"max-file-line-count": [true, 300],
"whitespace": [
true,
"check-branch",
"check-operator",
"check-separator",
"check-type",
"check-typecast"
]
}
}