-
Notifications
You must be signed in to change notification settings - Fork 22
/
.solhint.json
33 lines (32 loc) · 1001 Bytes
/
.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
{
"extends": "solhint:recommended",
"rules": {
"prettier/prettier": "error",
"function-max-lines": ["warn", 50],
"constructor-syntax": "warn",
"max-line-length": ["error", 120],
"max-states-count": ["error", 15],
"no-empty-blocks": "warn",
"no-unused-vars": "warn",
"payable-fallback": "warn",
"reason-string": ["warn", { "maxLength": 32 }],
"code-complexity": ["warn", 7],
"compiler-version": ["error", "0.8.0"],
"avoid-call-value": "warn",
"avoid-low-level-calls": "warn",
"avoid-sha3": "warn",
"avoid-suicide": "warn",
"avoid-throw": "warn",
"avoid-tx-origin": "warn",
"check-send-result": "warn",
"func-visibility": ["warn", { "ignoreConstructors": true }],
"multiple-sends": "warn",
"no-inline-assembly": "warn",
"not-rely-on-block-hash": "warn",
"not-rely-on-time": "warn",
"reentrancy": "warn",
"state-visibility": "warn",
"no-complex-fallback": "off"
},
"plugins": ["prettier"]
}