-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
tslint.json
32 lines (32 loc) · 987 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
{
"rules": {
"member-access": true,
"jsx-no-lambda": false, // this might cost us in rendering performance, could revisit someday
"no-var-keyword": {
"severity": "warning"
},
"prefer-const": {
"severity": "warning"
},
"only-arrow-functions": {
"options": "allow-declarations",
"severity": "error"
},
"no-empty": false,
"no-implicit-dependencies": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"no-var-requires": false,
"no-console": false,
"comment-format": false,
"member-ordering": false,
"no-string-literal": false,
"prefer-for-of": false // often demands for-of when collection is not an array so it won't work
},
"extends": [
"tslint:latest",
"tslint-react",
// leave formatting to prettier
"tslint-config-prettier"
]
}