-
Notifications
You must be signed in to change notification settings - Fork 12
/
.solhint.json
33 lines (33 loc) · 1.06 KB
/
.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
{
"rules": {
"prettier/prettier": "error",
"explicit-types": "error",
"max-states-count": ["warn", 15],
"no-console": "error",
"no-unused-import": "error",
"no-unused-vars": "error",
"reason-string": ["error", { "maxLength": 64 }],
"const-name-snakecase": "warn",
"contract-name-camelcase": "warn",
"event-name-camelcase": "warn",
"func-name-mixedcase": "warn",
"func-param-name-mixedcase": "warn",
"immutable-vars-naming": ["warn", { "immutablesAsConstants": true }],
"modifier-name-mixedcase": "warn",
"var-name-mixedcase": "warn",
"ordering": "error",
"imports-on-top": "error",
"visibility-modifier-order": "error",
"avoid-call-value": "error",
"avoid-low-level-calls": "error",
"avoid-sha3": "error",
"avoid-suicide": "error",
"avoid-throw": "error",
"func-visibility": ["error", { "ignoreConstructors": true }],
"no-complex-fallback": "warn",
"not-rely-on-block-hash": "error",
"reentrancy": "warn",
"state-visibility": "error"
},
"plugins": ["prettier"]
}