forked from kulshekhar/ts-jest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
78 lines (78 loc) · 1.65 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"extends": [
"tslint:recommended",
"tslint-config-prettier",
"tslint-plugin-prettier"
],
"linterOptions": {
"exclude": [
"package.json",
"dist/**/*",
"**/node_modules/**/*",
"e2e/__cases__/**/*"
]
},
"rules": {
"arrow-return-shorthand": [
true
],
"class-name": true,
"curly": [
true,
"ignore-same-line"
],
"encoding": true,
"interface-name": [
false
],
"interface-over-type-literal": true,
"max-classes-per-file": false,
"member-access": [
true,
"no-public"
],
"no-bitwise": false,
"no-boolean-literal-compare": true,
"no-duplicate-imports": true,
"no-empty": [
true,
"allow-empty-catch"
],
"no-empty-interface": false,
"no-for-in-array": true,
"no-inferrable-types": true,
"no-invalid-template-strings": true,
"no-return-await": true,
"no-shadowed-variable": false,
"no-string-throw": true,
"no-var-keyword": true,
"object-literal-sort-keys": false,
"ordered-imports": [
true,
{
"grouped-imports": true,
"import-sources-order": "lowercase-last",
"named-imports-order": "lowercase-last"
}
],
"prefer-const": true,
"prefer-for-of": false,
"prefer-function-over-method": true,
"prefer-object-spread": true,
"prefer-readonly": true,
"prefer-template": true,
"prettier": true,
"semicolon": [
true,
"never"
],
"switch-default": true,
"variable-name": [
true,
"allow-leading-underscore",
"ban-keywords",
"check-format",
"allow-pascal-case"
]
}
}