-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
executable file
·34 lines (34 loc) · 894 Bytes
/
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
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-sonarts",
"tslint-clean-code",
"tslint-config-prettier"
],
"rules": {
"cognitive-complexity": [true, 5],
"interface-name": false,
"mccabe-complexity": [true, 5],
"no-all-duplicated-branches": true,
"no-big-function": [true, 16],
"no-commented-code": true,
"no-dead-store": true,
"no-duplicate-in-composite": true,
"no-duplicate-string": true,
"no-duplicated-branches": true,
"no-identical-conditions": true,
"no-identical-expressions": true,
"no-identical-functions": true,
"no-magic-numbers": true,
"no-unused-variable": [
true,
{
"check-parameters": true
}
],
"object-literal-sort-keys": false,
"parameters-max-number": [true, 4],
"variable-name": [true, "ban-keywords", "check-format"]
}
}