-
Notifications
You must be signed in to change notification settings - Fork 2
/
.solhint.json
41 lines (41 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
34
35
36
37
38
39
40
41
{
"extends": ["solhint:recommended"],
"plugins": [],
"rules": {
"not-rely-on-time": "off",
"no-inline-assembly": "off",
"code-complexity": ["warn", 10],
"function-max-lines": ["warn", 100],
"max-line-length": ["warn", 120],
"contract-name-camelcase": "warn",
"no-unused-vars": "warn",
"no-global-import": "warn",
"no-unused-import": "warn",
"comprehensive-interface": "off",
"quotes": ["error", "double"],
"const-name-snakecase": "off",
"event-name-camelcase": "warn",
"func-name-mixedcase": "off",
"immutable-vars-naming": "off",
"modifier-name-mixedcase": "warn",
"named-parameters-mapping": "warn",
"private-vars-leading-underscore": [
"warn",
{
"strict": true
}
],
"var-name-mixedcase": "warn",
"imports-on-top": "error",
"ordering": "warn",
"visibility-modifier-order": "error",
"compiler-version": ["warn", "0.8.23"],
"func-visibility": [
"warn",
{
"ignoreConstructors": true
}
],
"no-empty-blocks": "off"
}
}