-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy pathtslint.json
42 lines (42 loc) · 918 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
42
{
"extends": ["tslint-config-standard", "tslint-react", "tslint-config-prettier"],
"linterOptions": {
"exclude": [
"config/**/*.js",
"node_modules/**/*.ts"
]
},
"rules": {
"no-console": false,
"ordered-imports": false,
"jsx-no-lambda": false,
"no-unsafe-any": false,
"no-unused-variable": false,
"no-unused-expression": false,
"use-default-type-parameter": false,
"no-inferrable-types": false,
"no-floating-promises": false,
"no-trailing-whitespace": true,
"ter-indent": [ true, 2,
{
"SwitchCase": 1
}
],
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"indent": [true, "spaces"],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
}
}