-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtslint.json
100 lines (100 loc) · 2.93 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"rulesDirectory": [
"node_modules/codelyzer",
"node_modules/tslint-lines-between-decorator-and-class",
"node_modules/tslint-lines-between-class-members"
],
"extends": ["angular-tslint-rules", "tslint-consistent-codestyle", "rxjs-tslint-rules", "tslint-eslint-rules"],
"linterOptions": {
"exclude": ["**/*.d.ts", "*.d.ts", "**/*.assets.ts", "*.assets.ts", "utils/*"]
},
"rules": {
"no-floating-promises": false,
"no-void-expression": false,
"angular-whitespace": false,
"ban": [true, "as", "fit", "fdescribe"],
"class-name": false,
"completed-docs": false,
"component-selector": [true, "element", ["app"], "kebab-case"],
"import-blacklist": [true],
"indent": [true, "spaces", 4],
"max-classes-per-file": [false, 1],
"max-file-line-count": [true, 1500],
"max-line-length": [
true,
{
"limit": 120,
"ignore-pattern": "^import |^export {(.*?)}"
}
],
"no-angle-bracket-type-assertion": true,
"no-as-type-assertion": false,
"no-dynamic-delete": false,
"no-empty": false,
"no-redundant-jsdoc": false,
"no-template-call-expression": false,
"no-unnecessary-class": false,
"no-unused-declaration": {
"options": [
{
"^[A-Z]+[A-Za-z0-9_$]*": true
}
],
"severity": "error"
},
"no-use-before-declare": true,
"nx-enforce-module-boundaries": [
true,
{
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
],
"prefer-inline-decorator": false,
"prefer-output-readonly": false,
"rxjs-finnish": {
"options": [
{
"functions": true,
"methods": true,
"parameters": true,
"properties": false,
"variables": true
}
],
"severity": "warning"
},
"rxjs-no-add": {
"severity": "error"
},
"rxjs-no-deep-operators": {
"severity": "error"
},
"rxjs-no-operator": {
"severity": "error"
},
"rxjs-no-patched": {
"severity": "error"
},
"rxjs-no-unsafe-switchmap": {
"options": [
{
"disallow": "."
}
],
"severity": "warning"
},
"rxjs-no-wholesale": false,
"trailing-comma": [
true,
{
"multiline": "always",
"singleline": "never"
}
]
}
}