-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
40 lines (40 loc) · 1.11 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
{
"extends": [
"tslint:recommended",
"tslint-eslint-rules-recommended",
"tslint-react"
],
"rules": {
"array-bracket-spacing": [true, "never"],
"arrow-parens": [true, "ban-single-arg-parens"],
"curly": [true, "ignore-same-line"],
"interface-name": [true, "never-prefix"],
"jsx-no-multiline-js": false,
"member-access": [true, "no-public"],
"no-console": false,
"no-constant-condition": [true, { "checkLoops": false }],
"no-floating-promises": true,
"no-shadowed-variable": false,
"object-curly-spacing": true,
"object-literal-shorthand": true,
"object-literal-sort-keys": false,
"ordered-imports": false,
"quotemark": [true, "single", "jsx-single", "avoid-template"],
"semicolon": [true, "never"],
"ter-indent": [true, 2, { "SwitchCase": 1 }],
"trailing-comma": false,
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-typecast",
"check-type-operator",
"check-preblock"
]
}
}