-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
90 lines (90 loc) · 1.82 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
{
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-react-hooks"
],
"rulesDirectory": [
"node_modules/tslint-lines-between-class-members"
],
"rules": {
"quotemark": [
true,
"single",
"jsx-double"
],
"curly": true,
"lines-between-class-members": true,
"object-literal-sort-keys": false,
"ordered-imports": true,
"member-ordering": false,
"variable-name": false,
"jsx-no-multiline-js": false,
"jsx-no-lambda": false,
"jsx-boolean-value": false,
"interface-name": false,
"jsx-no-string-ref": false,
"no-shadowed-variable": false,
"no-debugger": false,
"jsx-alignment": false,
"prefer-for-of": true,
"react-hooks-nesting": "error",
"no-eval": true,
"no-bitwise": false,
"jsdoc-format": true,
"triple-equals": true,
"no-empty-interface": true,
"no-unnecessary-initializer": true,
"no-conditional-assignment": true,
"array-type": [
true,
"array"
],
"no-unused-expression": [
true,
"allow-fast-null-checks"
],
"no-empty": [
false,
"allow-empty-catch"
],
"no-trailing-whitespace": [
true,
"ignore-comments",
"ignore-jsdoc"
],
"comment-format": [
true,
"check-space"
],
"max-line-length": [
true,
120
],
"max-file-line-count": [
true,
500
],
"max-classes-per-file": [
true,
1
],
"one-variable-per-declaration": [
true,
"ignore-for-loop"
],
"trailing-comma": [
true,
{
"singleline": "never",
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "ignore",
"typeLiterals": "ignore"
},
"esSpecCompliant": true
}
]
}
}