-
Notifications
You must be signed in to change notification settings - Fork 274
/
.solhint.json
41 lines (41 loc) · 1.01 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
{
"extends": "solhint:recommended",
"rules": {
"one-contract-per-file": "off",
"no-inline-assembly": "off",
"no-empty-blocks": "off",
"not-rely-on-time": "off",
"gas-custom-errors": "off",
"custom-errors": "off",
"interface-starts-with-i": "error",
"immutable-vars-naming": [
"error",
{
"immutablesAsConstants": true
}
],
"compiler-version": [
"error",
">=0.8.27"
],
"func-visibility": [
"error",
{
"ignoreConstructors": true
}
],
"no-unused-vars": "error",
"state-visibility": "error",
"var-name-mixedcase": "error",
"private-func-leading-underscore": "warn",
"private-vars-no-leading-underscore": "error",
"func-param-name-leading-underscore": "error",
"func-param-name-mixedcase": "error",
"strict-override": "error",
"ordering": "error",
"comprehensive-interface": "error",
"no-unused-import": "error",
"imports-order": "error",
"check-send-result": "error"
}
}