-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
56 lines (55 loc) · 1.59 KB
/
tslint.json
File metadata and controls
56 lines (55 loc) · 1.59 KB
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
{
"extends": ["tslint:recommended"],
"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,
"no-eval": true,
"no-bitwise": false,
"jsdoc-format": true,
"triple-equals": true,
"no-empty-interface": true,
"no-unnecessary-initializer": true,
"no-conditional-assignment": true,
"react-hooks-nesting": "error",
"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
}
],
"jsx-wrap-multiline": false
},
"linterOptions": {
"exclude": ["**/*.ts.snap"]
}
}