-
Notifications
You must be signed in to change notification settings - Fork 22
/
tslint.json
59 lines (59 loc) · 1.69 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
{
"extends": [
"tslint-eslint-rules",
"tslint-sonarts"
],
"defaultSeverity": "error",
"rules": {
"array-bracket-spacing": [true, "never", {
"arraysInArrays": false,
"singleValue": false,
"objectsInArrays": false
}],
"block-spacing": [true, "always"],
"import-spacing": true,
"no-boolean-literal-compare": true,
"no-console": [true, "log", "time", "trace"],
"no-duplicate-variable": true,
"no-multi-spaces": true,
"no-return-await": true,
"no-string-literal": true,
"no-string-throw": true,
"no-trailing-whitespace": true,
"no-unnecessary-initializer": true,
"no-var-keyword": true,
"object-curly-spacing": [true, "always"],
"one-variable-per-declaration": [true, "ignore-for-loop"],
"prefer-const": true,
"quotemark": [true, "single", "jsx-double"],
"ter-arrow-spacing": [true, { "before": true, "after": true }],
"triple-equals": [true, "allow-null-check", "allow-undefined-check"],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-typecast",
"check-type-operator",
"check-preblock"
],
"interface-over-type-literal": true,
"no-consecutive-blank-lines": true,
"space-before-function-paren": [true, {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}],
"space-within-parens": [true, 0],
"cognitive-complexity": false,
"no-duplicate-string": false,
"no-big-function": false,
"no-small-switch": false,
"max-union-size": [true, 20],
"parameters-max-number": false
}
}