forked from skalenetwork/skale-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.solhint.json
30 lines (29 loc) · 931 Bytes
/
.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
{
"extends": "solhint:all",
"rules": {
"not-rely-on-time": "off",
"avoid-tx-origin": "error",
"check-send-result": "error",
"code-complexity": "error",
"compiler-version": ["error","0.8.17"],
"comprehensive-interface": "error",
"contract-name-camelcase": "error",
"explicit-types": "error",
"func-name-mixedcase": "error",
"func-named-parameters": "error",
"func-visibility": ["error", {"ignoreConstructors": true}],
"function-max-lines": "error",
"max-states-count": ["error", 20],
"named-return-values": "error",
"no-empty-blocks": "error",
"no-global-import": "error",
"no-inline-assembly": "error",
"no-unused-import": "error",
"no-unused-vars": "error",
"one-contract-per-file": "error",
"ordering": "error",
"private-vars-leading-underscore": "error",
"state-visibility": "error",
"visibility-modifier-order": "error"
}
}