-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
41 lines (41 loc) · 1006 Bytes
/
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
{
"extends": [
"tslint:latest",
"tslint-config-prettier",
"tslint-react-hooks"
],
"plugins": ["prettier"],
"rulesDirectory": ["tslint-plugin-prettier"],
"rules": {
"prettier": true,
"new-parens": true,
"no-arg": true,
"no-bitwise": true,
"no-conditional-assignment": true,
"no-consecutive-blank-lines": false,
"object-literal-sort-keys": false,
"no-console": {
"severity": "warning",
"options": [
"debug",
"info",
"time",
"timeEnd",
"trace"
]
},
"interface-name": false,
"react-hooks-nesting": "error",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warning",
"no-submodule-imports": [
true,
"@fortawesome/free-solid-svg-icons/index",
"@fortawesome/react-fontawesome/index.es",
"bootstrap-css-only/css/bootstrap.min.css",
"react-use/lib/useLocalStorage",
"react-use/lib/useBoolean"
]
},
"jsRules": {}
}