forked from pendle-finance/pendle-core-v2-public
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.solhint.json
81 lines (81 loc) · 1.69 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"extends": "solhint:recommended",
"plugins": [],
"rules": {
"no-global-import": [
"off"
],
"code-complexity": [
"warn",
7
],
"function-max-lines": [
"off",
50
],
"max-line-length": [
"off",
120
],
"max-states-count": [
"warn",
15
],
"no-empty-blocks": "warn",
"no-unused-vars": "warn",
"payable-fallback": "warn",
"reason-string": [
"warn",
{
"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",
"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": "off",
"ordering": "off",
"quotes": [
"warn",
"double"
],
"reentrancy": "warn",
"func-visibility": [
"warn",
{
"ignoreConstructors": true
}
],
"private-vars-leading-underscore": [
"off",
{
"strict": false
}
],
"const-name-snakecase": "warn",
"func-name-mixedcase": "off",
"use-forbidden-name": "warn",
"var-name-mixedcase": "off",
"visibility-modifier-order": "warn",
"contract-name-camelcase": "off",
"event-name-camelcase": "warn",
"func-param-name-mixedcase": "off",
"modifier-name-mixedcase": "warn"
}
}