-
Notifications
You must be signed in to change notification settings - Fork 75
/
.solhint.json
35 lines (35 loc) · 970 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
34
35
{
"extends": "solhint:recommended",
"plugins": [],
"rules": {
"avoid-call-value": "error",
"avoid-sha3": "error",
"avoid-suicide": "error",
"avoid-throw": "error",
"check-send-result": "error",
"compiler-version": ["error", ">=0.7.0"],
"const-name-snakecase": "error",
"func-name-mixedcase": "error",
"imports-on-top": "error",
"max-line-length": ["error", 120],
"max-states-count": ["warn", 20],
"multiple-sends": "error",
"no-complex-fallback": "error",
"no-unused-vars": "error",
"not-rely-on-block-hash": "error",
"ordering": "error",
"payable-fallback": "error",
"quotes": ["error", "double"],
"reason-string": ["warn", { "maxLength": 64 }],
"reentrancy": "error",
"func-visibility": [
"warn",
{
"ignoreConstructors": true
}
],
"use-forbidden-name": "error",
"var-name-mixedcase": "error",
"visibility-modifier-order": "error"
}
}