forked from Mintbase/mintbase-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
99 lines (99 loc) · 2.64 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"extends": ["tslint:latest", "tslint-eslint-rules"],
"rules": {
"adjacent-overload-signatures": true,
"arrow-parens": [true, "ban-single-arg-parens"],
"arrow-return-shorthand": true,
"await-promise": true,
"binary-expression-operand-order": true,
"callable-types": true,
"class-name": true,
"completed-docs": [
true,
{
"functions": { "visibilities": ["exported"] },
"methods": {
"locations": "instance",
"privacies": ["public", "protected"]
}
}
],
"curly": true,
"eofline": true,
"encoding": true,
"import-spacing": true,
"indent": [true, "spaces", 2],
"interface-name": false,
"interface-over-type-literal": true,
"linebreak-style": [true, "LF"],
"max-classes-per-file": [true, 1],
"max-line-length": false,
"member-access": true,
"member-ordering": [
true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
],
"newline-before-return": false,
"new-parens": true,
"no-angle-bracket-type-assertion": true,
"no-boolean-literal-compare": true,
"no-console": [true, "log"],
"no-default-export": true,
"no-empty-interface": false,
"no-floating-promises": true,
"no-non-null-assertion": true,
"no-parameter-reassignment": false,
"no-redundant-jsdoc": true,
"no-return-await": false,
"no-string-throw": true,
"no-string-literal": false,
"no-submodule-imports": false,
"no-unnecessary-type-assertion": true,
"no-implicit-dependencies": [true, "dev"],
"number-literal-format": true,
"object-literal-sort-keys": false,
"object-literal-key-quotes": false,
"ordered-imports": [
false,
{
"grouped-imports": true
}
],
"trailing-comma": false,
"prefer-const": true,
"prefer-for-of": true,
"prefer-function-over-method": false,
"promise-function-async": true,
"quotemark": false,
"radix": false,
"semicolon": [true, "never"],
"space-before-function-paren": [
true,
{
"anonymous": "never",
"named": "never",
"method": "never",
"constructor": "never",
"asyncArrow": "always"
}
],
"space-within-parens": false,
"triple-equals": false,
"type-literal-delimiter": false,
"variable-name": [true, "ban-keywords", "allow-pascal-case"],
"whitespace": [
true,
"check-branch",
"check-module",
"check-decl",
"check-operator",
"check-separator",
"check-rest-spread",
"check-type",
"check-typecast",
"check-preblock"
]
}
}