-
Notifications
You must be signed in to change notification settings - Fork 0
/
.solhint.json
35 lines (32 loc) · 992 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
35
{
"extends": "solhint:recommended",
"plugins": [],
"rules": {
"no-unused-vars": "error",
"payable-fallback": "error",
"reason-string": "error",
"constructor-syntax": "error",
"const-name-snakecase": "error",
"contract-name-camelcase": "error",
"event-name-camelcase": "error",
"func-param-name-mixedcase": "error",
"modifier-name-mixedcase": "error",
"private-vars-leading-underscore": "error",
"use-forbidden-name": "error",
"var-name-mixedcase": "error",
"imports-on-top": "error",
"ordering": "error",
"visibility-modifier-order": "error",
"avoid-call-value": "error",
"avoid-sha3": "error",
"avoid-suicide": "error",
"avoid-throw": "error",
"avoid-tx-origin": "error",
"func-visibility": ["error", { "ignoreConstructors": true }],
"state-visibility": "error",
"not-rely-on-time": "off",
"compiler-version": "off",
"no-empty-blocks": "off",
"func-name-mixedcase": "off"
}
}