forked from wighawag/hardhat-deploy-ethers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
62 lines (61 loc) · 1.58 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
{
"extends": [
"tslint:latest",
"tslint-plugin-prettier",
"tslint-config-prettier"
],
"rulesDirectory": ["tslint-consistent-codestyle"],
"rules": {
"prettier": true,
"object-literal-sort-keys": false,
"no-submodule-imports": false,
"interface-name": false,
"max-classes-per-file": false,
"no-empty": false,
"no-console": false,
"only-arrow-functions": false,
"prefer-template": true,
"variable-name": [
true,
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
],
"ordered-imports": [
false,
{
"grouped-imports": true,
"import-sources-order": "case-insensitive"
}
],
"no-floating-promises": true,
"prefer-conditional-expression": false,
"no-implicit-dependencies": [true, ["chai", "sinon"]],
"await-promise": true,
"strict-boolean-expressions": true,
"no-duplicate-super": true,
"no-inferred-empty-object-type": true,
"no-misused-new": true,
"restrict-plus-operands": true,
"use-isnan": true,
"curly": true,
"no-unnecessary-else": true,
"naming-convention": [
true,
{
"type": "member",
"modifiers": "private",
"leadingUnderscore": "require"
},
{
"type": "member",
"modifiers": "protected",
"leadingUnderscore": "require"
},
{ "type": "type", "format": "PascalCase" },
{ "type": "genericTypeParameter", "suffix": "T" },
{ "type": "enum", "format": "PascalCase" },
{ "type": "enumMember", "format": "UPPER_CASE" }
]
}
}