-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.solhint.json
More file actions
61 lines (61 loc) · 1.9 KB
/
.solhint.json
File metadata and controls
61 lines (61 loc) · 1.9 KB
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
52
53
54
55
56
57
58
59
60
61
{
"extends": "solhint:recommended",
"plugins": [],
"rules": {
"code-complexity": ["warn", 5],
"function-max-lines": ["warn", 30],
"max-line-length": ["off", 120],
"max-states-count": ["warn", 7],
"no-empty-blocks": "warn",
"no-unused-vars": "warn",
"payable-fallback": "warn",
"reason-string": [
"off",
{
"maxLength": 32
}
],
"constructor-syntax": "warn",
"comprehensive-interface": "off",
"avoid-call-value": "warn",
"avoid-low-level-calls": "off",
"avoid-sha3": "warn",
"avoid-suicide": "warn",
"avoid-throw": "warn",
"avoid-tx-origin": "warn",
"check-send-result": "warn",
"compiler-version": ["warn", "^0.8.0"],
"imports-on-top": "warn",
"imports-order": "off",
"no-global-import": "warn",
"no-unused-import": "error",
"multiple-sends": "warn",
"no-complex-fallback": "warn",
"no-inline-assembly": "off",
"not-rely-on-block-hash": "off",
"not-rely-on-time": "off",
"ordering": "off",
"quotes": ["warn", "double"],
"reentrancy": "warn",
"func-visibility": [
"warn",
{
"ignoreConstructors": true
}
],
"private-vars-leading-underscore": "warn",
"const-name-snakecase": "warn",
"func-name-mixedcase": "off",
"use-forbidden-name": "warn",
"var-name-mixedcase": "off",
"visibility-modifier-order": "warn",
"contract-name-capwords": "warn",
"event-name-capwords": "warn",
"func-param-name-mixedcase": "off",
"modifier-name-mixedcase": "warn",
"one-contract-per-file": "off",
"gas-custom-errors": "off",
"state-visibility": "error",
"use-natspec": "off"
}
}