-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
49 lines (49 loc) · 1.33 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
41
42
43
44
45
46
47
48
49
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-config-standard",
"tslint-config-prettier"
],
"linterOptions": {
"exclude": ["node_modules/**/*"]
},
"jsRules": {},
"rules": {
"arrow-return-shorthand": [true, "multiline"],
"no-namespace": [true, "allow-declarations"],
"prefer-const": [true, { "destructuring": "all" }],
"promise-function-async": true,
"one-variable-per-declaration": false,
"await-promise": [true, "IPromise"],
"no-inferred-empty-object-type": true,
"strict-type-predicates": true,
"return-undefined": true,
"member-access": [true, "no-public"],
"object-literal-sort-keys": false,
"interface-name": false,
"only-arrow-functions": false,
"no-var-requires": false,
"no-console": [true, "log"],
"max-line-length": false,
"forin": false,
"max-classes-per-file": false,
"no-empty-interface": false,
"no-unnecessary-type-assertion": false,
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "never",
"exports": "never",
"functions": "ignore"
}
],
"jsx-boolean-value": false,
"jsx-no-multiline-js": false,
"no-use-before-declare": false
},
"rulesDirectory": []
}