-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
77 lines (74 loc) · 2.43 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"extends": [
"tslint-eslint-rules"
],
"rules": {
"ter-max-len": [
true,
{
"code": 120,
"ignoreComments": true
}
],
"member-access": true,
"no-magic-numbers": false,
"only-arrow-functions": true,
"curly": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-construct": true,
"no-debugger": true,
"no-duplicate-super": true,
"no-empty": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-invalid-template-strings": true,
"no-misused-new": true,
"no-shadowed-variable": true,
"no-sparse-arrays": true,
"no-string-literal": true,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-unsafe-finally": true,
"no-var-keyword": true,
"radix": true,
"triple-equals": true,
"use-isnan": true,
"cyclomatic-complexity": true,
"new-parens": true,
"no-import-side-effect": [true, { "ignore-pattern": "/rxjs.*/" }],
"no-arg": true,
"eofline": true,
"max-classes-per-file": [true, 1],
"max-file-line-count": [true, 500],
"prefer-const": true,
"align": false,
"array-type": [true, "array-simple"],
"arrow-parens": true,
"arrow-return-shorthand": true,
"callable-types": true,
"class-name": true,
"comment-format": [true, "check-space"],
"import-spacing": true,
"interface-name": [true, "always-prefix"],
"no-consecutive-blank-lines": true,
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-initializer": true,
"object-literal-shorthand": true,
"one-line": [true, "check-catch", "check-finally", "check-else", "check-open-brace", "check-whitespace"],
"semicolon": [true, "always"],
"no-constant-condition": true,
"no-duplicate-case": true,
"no-ex-assign": true,
"no-extra-semi": true,
"no-inner-declarations": true,
"no-irregular-whitespace": true,
"no-unexpected-multiline": true,
"no-multi-spaces": true,
"handle-callback-err": true,
"brace-style": ["error", "1tbs", { "allowSingleLine": true }]
},
"rulesDirectory": [
"node_modules/tslint-no-unused-expression-chai/rules"
]
}