forked from stars-labs/heco-contracts
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.solhint.json
37 lines (37 loc) · 1.18 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
{
"extends": "solhint:recommended",
"rules": {
"compiler-version": ["off",">=0.6.0 <0.8.0"],
"func-visibility": ["warn", { "ignoreConstructors": false }],
"no-unused-vars": "error",
"reason-string": ["warn",{"maxLength":64}],
"const-name-snakecase": "off",
"contract-name-camelcase": "error",
"event-name-camelcase": "error",
"func-name-mixedcase": "error",
"func-param-name-mixedcase": "error",
"modifier-name-mixedcase": "error",
"private-vars-leading-underscore": "error",
"var-name-mixedcase": "error",
"imports-on-top": "error",
"visibility-modifier-order": "warn",
"avoid-call-value":"error",
"avoid-throw":"error",
"avoid-low-level-calls":"error",
"avoid-call-value":"error",
"avoid-low-level-calls":"error",
"avoid-sha3":"error",
"avoid-suicide":"error",
"avoid-throw":"error",
"avoid-tx-origin":"error",
"check-send-result":"error",
"func-visibility":"error",
"multiple-sends":"error",
"no-complex-fallback":"error",
"no-inline-assembly":"error",
"not-rely-on-block-hash":"error",
"not-rely-on-time":"error",
"reentrancy":"error",
"state-visibility":"error"
}
}