-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.solhint.json
More file actions
44 lines (44 loc) · 1.13 KB
/
.solhint.json
File metadata and controls
44 lines (44 loc) · 1.13 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
{
"extends": "solhint:recommended",
"rules": {
"one-contract-per-file": "off",
"no-inline-assembly": "off",
"import-path-check": "off",
"not-rely-on-time": "off",
"private-vars-no-leading-underscore": "error",
"func-param-name-leading-underscore": "error",
"no-global-import": "error",
"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",
"func-param-name-mixedcase": "error",
"ordering": "error",
"comprehensive-interface": "error",
"no-unused-import": "error",
"imports-order": "error",
"check-send-result": "error",
"duplicated-imports": "warn",
"gas-custom-errors": "warn",
"named-parameters-mapping": "warn",
"gas-struct-packing": "warn",
"no-empty-blocks": "warn",
"private-func-leading-underscore": "warn"
}
}