-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathtslint.json
More file actions
50 lines (50 loc) · 1.34 KB
/
tslint.json
File metadata and controls
50 lines (50 loc) · 1.34 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended", "tslint-microsoft-contrib"],
"jsRules": {},
"plugins": ["react-hooks"],
"rules": {
"align": [true, "statements", "members", "elements"],
"export-name": [
true,
{
"ignore-case": true
}
],
"linebreak-style": false,
"max-line-length": [false, 80],
"no-relative-imports": false,
"no-any": false,
"no-submodule-imports": false,
"typedef": false,
"import-name": false,
"possible-timing-attack": false,
"max-func-body-length": false,
"max-classes-per-file": false,
"match-default-export-name": false,
"prefer-template": false,
"no-implicit-dependencies": [
true,
"dev",
["@", "@public", "@main", "@models", "@renderer", "@utils"]
],
"no-import-side-effect": [
true,
{
"ignore-module": "(\\.css)$"
}
],
"no-increment-decrement": ["allow-for-loops"],
"strict-boolean-expressions": false,
"ordered-imports": false,
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"variable-name": false,
"export-name": false,
"no-reserved-keywords": false,
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"no-console": false,
"completed-docs": false,
"no-parameter-reassignment": false
}
}