-
Notifications
You must be signed in to change notification settings - Fork 32
/
.solhint.json
31 lines (29 loc) · 934 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
31
{
"extends": "solhint:all",
"rules": {
"not-rely-on-time": "off",
"compiler-version": ["warn","0.8.26"],
"avoid-tx-origin": "error",
"check-send-result": "error",
"code-complexity": "error",
"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-line-length": ["error", 100],
"max-states-count": ["error", 20],
"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"
}
}