forked from node-celery-ts/node-celery-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
48 lines (47 loc) · 1.56 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
{
"extends": ["tslint:all", "tslint-eslint-rules",
"tslint-clean-code", "tslint-sonarts"],
"jsRules": {},
"rules": {
// tslint
"interface-name": [true, "never-prefix"],
"array-type": [true, "generic"],
"typedef": [true, "call-signature", "parameter",
"property-declaration",
"member-variable-declaration"],
"comment-format": [true, "check-space" ],
"trailing-comma": false,
"no-implicit-dependencies": [true, "dev"],
"newline-per-chained-call": false,
"no-inferrable-types": false,
"max-classes-per-file": false,
"no-any": false,
"member-ordering": false,
"switch-default": false,
"max-line-length": [true, 80],
"no-magic-numbers": false,
"no-null-keyword": false,
"no-non-null-assertion": false,
"no-empty": false,
"object-literal-key-quotes": [true, "as-needed"],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore"
],
"binary-expression-operand-order": false,
// tslint-clean-code
"try-catch-first": true,
"max-func-args": 3,
"newspaper-order": true,
"no-flag-args": true,
"no-for-each-push": true,
"no-feature-envy": true,
"no-map-without-usage": true,
"no-complex-conditionals": true,
"prefer-dry-conditionals": true,
"no-commented-out-code": true
},
"rulesDirectory": []
}