forked from matter-labs/era-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.solhint.json
31 lines (31 loc) · 950 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
{
"extends": "solhint:recommended",
"rules": {
"state-visibility": "off",
"func-visibility": ["warn", { "ignoreConstructors": true }],
"var-name-mixedcase": "off",
"avoid-call-value": "off",
"no-empty-blocks": "off",
"not-rely-on-time": "off",
"avoid-low-level-calls": "off",
"no-inline-assembly": "off",
"const-name-snakecase": "off",
"no-complex-fallback": "off",
"reason-string": "off",
"func-name-mixedcase": "off",
"custom-errors": "off",
"no-unused-vars": "error",
"max-states-count": "off",
"no-global-import": "error",
"no-unused-import": "error",
"explicit-types": "error",
"modifier-name-mixedcase": "error",
"imports-on-top": "error",
"quotes": "error",
"use-forbidden-name": "error",
"visibility-modifier-order": "error",
"reentrancy": "error",
"func-named-parameters": ["error", 4],
"compiler-version": ["error", "^0.8.0"]
}
}