-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.solhint.json
More file actions
34 lines (34 loc) · 1.08 KB
/
.solhint.json
File metadata and controls
34 lines (34 loc) · 1.08 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
{
"extends": "solhint:recommended",
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error",
"compiler-version": ["error", "^0.8.7"],
"max-states-count": ["error", 40],
"payable-fallback": "error",
"reason-string": ["error", { "maxLength": 150 }],
"comprehensive-interface": "error",
"quotes": ["error", "double"],
"no-unused-vars": "error",
"func-visibility": ["error", { "ignoreConstructors": true }],
"const-name-snakecase": "error",
"contract-name-camelcase": "warn",
"event-name-camelcase": "warn",
"func-name-mixedcase": "error",
"use-forbidden-name": "warn",
"imports-on-top": "warn",
"visibility-modifier-order": "warn",
"avoid-sha3": "error",
"avoid-tx-origin": "warn",
"check-send-result": "warn",
"multiple-sends": "warn",
"reentrancy": "error",
"state-visibility": "error",
"max-line-length": ["error", 150],
"not-rely-on-time": "off",
"no-inline-assembly": "error",
"no-empty-blocks": "off",
"var-name-mixedcase": "error",
"avoid-low-level-calls": "error"
}
}