-
Notifications
You must be signed in to change notification settings - Fork 0
/
.solhint.json
49 lines (46 loc) · 1.44 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
{
"extends": "solhint:recommended",
"plugins": [],
"rules": {
"code-complexity": ["warn", 15],
"function-max-lines": ["warn", 150],
"max-line-length": ["error", 150],
"max-states-count": ["warn", 20],
"no-empty-blocks": "warn",
"no-unused-vars": "warn",
"payable-fallback": "warn",
"reason-string": ["off"],
"constructor-syntax": "warn",
"quotes": ["error", "double"],
"const-name-snakecase": "warn",
"contract-name-camelcase": "warn",
"event-name-camelcase": "warn",
"func-name-mixedcase": "warn",
"func-param-name-mixedcase": "warn",
"modifier-name-mixedcase": "warn",
"private-vars-leading-underscore": ["warn", { "strict": false }],
"use-forbidden-name": "warn",
"var-name-mixedcase": "warn",
"func-order": "warn",
"imports-on-top": "warn",
"ordering": "warn",
"visibility-modifier-order": "warn",
"avoid-call-value": "warn",
"avoid-low-level-calls": "warn",
"avoid-suicide": "error",
"avoid-sha3": "warn",
"avoid-throw": "warn",
"avoid-tx-origin": "warn",
"check-send-result": "off",
"compiler-version": ["error", "^0.8.6"],
"mark-callable-contracts": "off",
"multiple-sends": "warn",
"no-complex-fallback": "warn",
"no-inline-assembly": "warn",
"not-rely-on-block-hash": "warn",
"not-rely-on-time": "warn",
"reentrancy": "warn",
"state-visibility": "warn",
"comprehensive-interface": "warn"
}
}