-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.solhint.json
52 lines (52 loc) · 1.15 KB
/
.solhint.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
{
"extends": [
"solhint:recommended"
],
"rules": {
"avoid-call-value": "error",
"avoid-low-level-calls": "off",
"avoid-sha3": "error",
"avoid-suicide": "error",
"avoid-throw": "error",
"avoid-tx-origin": "off",
"check-send-result": "error",
"compiler-version": [
"off",
"0.6.6"
],
"const-name-snakecase": "error",
"func-name-mixedcase": "error",
"ordering": "error",
"imports-on-top": "error",
"mark-callable-contracts": "off",
"max-line-length": [
"error",
150
],
"max-states-count": [
"error",
20
],
"multiple-sends": "error",
"no-complex-fallback": "error",
"no-empty-blocks": "off",
"no-inline-assembly": "off",
"no-unused-vars": "error",
"not-rely-on-block-hash": "error",
"not-rely-on-time": "off",
"payable-fallback": "error",
"quotes": [
"error",
"single"
],
"reentrancy": "error",
"state-visibility": "error",
"use-forbidden-name": "error",
"var-name-mixedcase": "off",
"visibility-modifier-order": "error",
"prettier/prettier": "error"
},
"plugins": [
"prettier"
]
}