-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
60 lines (60 loc) · 1.93 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
50
51
52
53
54
55
56
57
58
59
60
{
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-eslint-rules",
"tslint-consistent-codestyle",
"tslint-config-prettier"
],
"rules": {
"interface-name": [true, "never-prefix"],
"object-literal-sort-keys": false,
"no-empty-interface": false,
"no-submodule-imports": false,
"jsx-no-lambda": false,
"no-console": false,
"no-empty": false,
"radix": false,
"jsx-no-multiline-js": false,
"only-arrow-functions": [true, "allow-declarations"],
"no-invalid-this": true,
"ban-comma-operator": true,
"no-arg": true,
"no-duplicate-case": true,
"no-empty-character-class": true,
"no-ex-assign": true,
"no-extra-boolean-cast": true,
"no-extra-semi": true,
"no-inner-declarations": true,
"no-invalid-regexp": true,
"no-irregular-whitespace": true,
"no-regex-spaces": true,
"no-sparse-arrays": true,
"no-unexpected-multiline": true,
"valid-jsdoc": true,
"valid-typeof": true,
"early-exit": { "severity": "warning" },
"no-collapsible-if": { "severity": "warning" },
"no-unnecessary-else": { "severity": "warning" },
"no-accessor-recursion": { "severity": "warning" },
"no-else-after-return": {
"severity": "warning",
"options": "allow-else-if"
},
"no-return-undefined": { "severity": "warning" },
"no-static-this": { "severity": "warning" },
"no-var-before-return": {
"severity": "warning",
"options": "allow-destructuring"
},
"prefer-const-enum": { "severity": "warning" },
"variable-name": {
"options": [
"ban-keywords",
"check-format",
"allow-snake-case",
"allow-pascal-case"
]
}
}
}