-
Notifications
You must be signed in to change notification settings - Fork 1
/
.solhint.json
37 lines (37 loc) · 1.19 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
34
35
36
37
{
"extends": ["solhint:recommended"],
"plugins": [],
"rules": {
"bracket-align": "off",
"compiler-version": ["error", "^0.5.0"],
"const-name-snakecase": "off",
"expression-indent": "off",
"func-order": "off",
"func-param-name-mixedcase": "off",
"imports-on-top": "off",
"indent": ["error", 4],
"mark-callable-contracts": "off",
"max-line-length": "off",
"no-empty-blocks": "off",
"no-inline-assembly": "off",
"no-simple-event-func-name": "off",
"not-rely-on-time": "off",
"no-unused-vars": "warn",
"quotes": ["error", "double"],
"security/no-block-members": ["error", ["blockhash"]],
"security/no-inline-assembly": "off",
"separate-by-one-line-in-contract": "off",
"two-lines-top-level-separator": "off",
"var-name-mixedcase": "off",
"visibility-modifier-order": "off",
"---THE BELOW ARE FROM SOLHINT:RECOMMENDED ---": "---to be removed once https://github.com/juanfranblanco/vscode-solidity/issues/144 is fixed ---",
"state-visibility": "warn",
"payable-fallback": "warn",
"no-complex-fallback": "warn",
"avoid-low-level-calls": "warn",
"func-name-mixedcase": "warn",
"contract-name-camelcase": "warn",
"multiple-sends": "warn",
"reentrancy": "warn"
}
}