-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
tslint.json
76 lines (76 loc) · 2.48 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
{
"extends": ["tslint:all", "tslint-jasmine-rules", "tslint-microsoft-contrib/recommended"],
"rules": {
"arrow-parens": false,
"arrow-return-shorthand": false,
"comment-format": false,
"completed-docs": false,
"cyclomatic-complexity": [true, 25],
"deprecation": false,
"export-name": false,
"file-name-casing": [true, "kebab-case"],
"function-name": false,
"insecure-random": false,
"interface-name": false,
"interface-over-type-literal": false,
"invalid-void": false,
"max-classes-per-file": false,
"max-file-line-count": [true, 500],
"max-func-body-length": [
true,
100,
{
"ignore-parameters-to-function-regex": "^(([fx]?(describe|it))|beforeEach|fakeAsync|inject)$"
}
],
"mocha-no-side-effect-code": false,
"newline-per-chained-call": false,
"no-any": false,
"no-backbone-get-set-outside-model": false,
"no-default-export": false,
"no-default-import": false,
"no-disabled-tests": true,
"no-empty": false,
"no-floating-promises": false,
"no-focused-tests": true,
"no-implicit-dependencies": [true, "dev", ["ng-mocks", "@angular/forms"]],
"no-magic-numbers": false,
"no-null-keyword": false,
"no-null-undefined-union": false,
"no-object-literal-type-assertion": false,
"no-parameter-properties": false,
"no-redundant-jsdoc": false,
"no-relative-imports": false,
"no-submodule-imports": false,
"no-suspicious-comment": false,
"no-typeof-undefined": false,
"no-unbound-method": false,
"no-unnecessary-class": false,
"no-unsafe-any": false,
"no-void-expression": false,
"one-line": [true, "check-catch", "check-finally", "check-else", "check-whitespace"],
"only-arrow-functions": false,
"prefer-array-literal": [true, { "allow-type-parameters": true }],
"prefer-function-over-method": false,
"prefer-method-signature": false,
"prefer-switch": false,
"prefer-type-cast": false,
"quotemark": [true, "single"],
"semicolon": [true, "always", "strict-bound-class-methods"],
"space-before-function-paren": [
true,
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always",
"method": "never",
"constructor": "never"
}
],
"strict-boolean-expressions": false,
"strict-comparisons": [true, { "allow-object-equal-comparison": true }],
"strict-type-predicates": false,
"typedef": false,
"unified-signatures": false
}
}