-
Notifications
You must be signed in to change notification settings - Fork 6
/
.solhint.json
51 lines (51 loc) · 1.39 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
{
"extends": "solhint:recommended",
"plugins": [],
"rules": {
"###security-rules###": "",
"avoid-call-value": "error",
"avoid-low-level-calls": "error",
"avoid-throw": "error",
"avoid-sha3": "warn",
"avoid-suicide": "error",
"avoid-tx-origin": "error",
"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": "error",
"not-rely-on-block-hash": "error",
"not-rely-on-time": "off",
"reentrancy": "error",
"state-visibility": "error",
"###style-rules###": "",
"const-name-snakecase": "off",
"event-name-camelcase": "error",
"quotes": "error",
"comprehensive-interface": "warn",
"use-forbidden-name": "error",
"imports-on-top": "error",
"reason-string": "error",
"no-unused-vars": "error",
"no-empty-blocks": "off",
"var-name-mixedcase": "off",
"func-name-mixedcase": "off",
"max-line-length": [
"warn",
150
],
"code-complexity": [
"warn",
4
]
}
}