forked from razor-network/oracle-contracts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.solhint.json
28 lines (28 loc) · 825 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
{
"extends": "solhint:recommended",
"plugins": [
"prettier"
],
"rules": {
"avoid-suicide": "error",
"compiler-version": ["error", "^0.8.0"],
"const-name-snakecase": "error",
"contract-name-camelcase": "warn",
"event-name-camelcase": "error",
"func-name-mixedcase": "error",
"func-visibility": ["error", { "ignoreConstructors": true }],
"imports-on-top": "warn",
"mark-callable-contracts": "off",
"max-line-length": ["warn", 127],
"no-unused-vars": "error",
"not-rely-on-time" : "off",
"ordering": "error",
"prettier/prettier": "error",
"private-vars-leading-underscore": "error",
"quotes": ["error","double"],
"reentrancy": "error",
"var-name-mixedcase": "error",
"visibility-modifier-order": "error",
"reason-string": "error"
}
}