-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.solhint.json
34 lines (33 loc) · 917 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
32
33
34
{
"extends": "solhint:all",
"rules": {
"foundry-test-functions": "off",
"not-rely-on-time": "off",
"code-complexity": "error",
"comprehensive-interface": "error",
"explicit-types": "error",
"func-named-parameters": "error",
"func-visibility": [
"error",
{
"ignoreConstructors": true
}
],
"function-max-lines": "error",
"gas-increment-by-one": "error",
"gas-indexed-events": "error",
"gas-length-in-loops": "error",
"gas-strict-inequalities": "error",
"imports-order": "error",
"max-line-length": ["error", 100],
"max-states-count": "error",
"named-parameters-mapping": "error",
"no-empty-blocks": "error",
"no-global-import": "error",
"no-unused-import": "error",
"no-unused-vars": "error",
"ordering": "error",
"private-vars-leading-underscore": "error",
"state-visibility": "error"
}
}