forked from m0-foundation/common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.solhint.json
59 lines (59 loc) · 1.18 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
{
"extends": [
"solhint:recommended"
],
"plugins": [],
"rules": {
"not-rely-on-time": "off",
"no-inline-assembly": "off",
"code-complexity": [
"warn",
10
],
"function-max-lines": [
"warn",
100
],
"max-line-length": [
"warn",
120
],
"contract-name-camelcase": "warn",
"no-unused-vars": "warn",
"no-global-import": "warn",
"no-unused-import": "warn",
"comprehensive-interface": "off",
"quotes": [
"error",
"double"
],
"const-name-snakecase": "off",
"event-name-camelcase": "warn",
"func-name-mixedcase": "off",
"immutable-vars-naming": "off",
"modifier-name-mixedcase": "warn",
"named-parameters-mapping": "warn",
"private-vars-leading-underscore": [
"warn",
{
"strict": true
}
],
"var-name-mixedcase": "warn",
"imports-on-top": "error",
"imports-order": "error",
"ordering": "warn",
"visibility-modifier-order": "error",
"compiler-version": [
"warn",
"0.8.26"
],
"func-visibility": [
"warn",
{
"ignoreConstructors": true
}
],
"no-empty-blocks": "off"
}
}