-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.solhint.json
34 lines (34 loc) · 996 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:recommended",
"plugins": ["prettier"],
"rules": {
"avoid-call-value": "error",
"avoid-low-level-calls": "off",
"avoid-tx-origin": "error",
"check-send-result": "error",
"code-complexity": ["error", 8],
"compiler-version": ["error", ">=0.8.12"],
"const-name-snakecase": "off",
"constructor-syntax": "error",
"contract-name-camelcase": "warn",
"event-name-camelcase": "warn",
"func-name-mixedcase": "warn",
"func-visibility": ["error", { "ignoreConstructors": true }],
"imports-on-top": "error",
"max-line-length": ["error", 120],
"not-rely-on-time": "off",
"payable-fallback": "error",
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"reason-string": ["warn", { "maxLength": 64 }],
"reentrancy": "error",
"state-visibility": "error",
"use-forbidden-name": "warn",
"var-name-mixedcase": "warn",
"visibility-modifier-order": "warn"
}
}