-
Notifications
You must be signed in to change notification settings - Fork 23
/
.solhint.json
35 lines (35 loc) · 1.04 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
{
"extends": "solhint:recommended",
"plugins": ["prettier"],
"rules": {
"explicit-types": "error",
"max-states-count": "error",
"no-console": "error",
"no-empty-blocks": "error",
"no-global-import": "error",
"no-unused-import": "error",
"no-unused-vars": "error",
"payable-fallback": "error",
"constructor-syntax": "error",
"comprehensive-interface": "warn",
"func-named-parameters": "warn",
"imports-on-top": "error",
"ordering": "warn",
"visibility-modifier-order": "error",
"avoid-call-value": "error",
"avoid-sha3": "error",
"avoid-suicide": "error",
"avoid-throw": "error",
"avoid-tx-origin": "off",
"check-send-result": "error",
"compiler-version": ["error", ">=0.8.0"],
"func-visibility": ["error", { "ignoreConstructors": true }],
"multiple-sends": "error",
"no-complex-fallback": "error",
"no-inline-assembly": "warn",
"not-rely-on-block-hash": "error",
"not-rely-on-time": "warn",
"reentrancy": "error",
"state-visibility": "error"
}
}