-
Notifications
You must be signed in to change notification settings - Fork 9
/
tslint.json
70 lines (70 loc) · 2.01 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
{
"extends": [
"tslint-react",
"tslint-eslint-rules",
"tslint-sonarts"
],
"defaultSeverity": "error",
"rules": {
"array-bracket-spacing": [true, "never", {
"arraysInArrays": false,
"singleValue": false,
"objectsInArrays": false
}],
"jsx-boolean-value": 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],
"jsx-curly-spacing": [true, "never"],
"jsx-no-multiline-js": false,
"jsx-equals-spacing": false,
"jsx-no-bind": true,
"jsx-key": true,
"jsx-no-lambda": true,
"jsx-no-string-ref": true,
"jsx-wrap-multiline": true,
"jsx-self-close": true,
"cognitive-complexity": false,
"no-duplicate-string": false,
"no-big-function": false,
"no-small-switch": false,
"max-union-size": [true, 20],
"parameters-max-number": false
}
}