-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtslint.json
52 lines (52 loc) · 1.13 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
{
"extends": [
"tslint:latest",
"tslint-react-hooks"
],
"linterOptions": {
"exclude": [
"config/**/*.js",
"node_modules",
"coverage/lcov-report/*.js"
]
},
"rules": {
"react-hooks-nesting": "error",
"object-literal-key-quotes": false,
"object-literal-shorthand": false,
"no-console": false,
"max-classes-per-file": false,
"member-access": [
true,
"no-public"
],
"no-submodule-imports": false,
"no-var-keyword": false,
"no-this-assignment": [
true,
{
"allowed-names": [
"^self$"
],
"allow-destructuring": true
}
],
"jsx-no-multiline-js": false,
"object-literal-sort-keys": false,
"only-arrow-functions": false,
"prefer-conditional-expression": false,
"no-implicit-dependencies": true,
"interface-name": false,
"import-name": false,
"comment-format": {
"options": [
"check-space"
]
},
"max-line-length": false,
"trailing-comma": false,
"space-before-function-paren": false,
"jsx-boolean-value": false,
"ordered-imports": false
}
}