-
Notifications
You must be signed in to change notification settings - Fork 16
/
.solhint.json
35 lines (35 loc) · 895 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
32
33
34
35
{
"extends": "solhint:recommended",
"plugins": ["prettier"],
"rules": {
"singleQuote": ["error", false],
"code-complexity": ["error", 18],
"compiler-version": ["error", ">=0.8.17"],
"constructor-syntax": "error",
"func-visibility": [
"error",
{
"ignoreConstructors": true
}
],
"max-line-length": ["error", 100],
"not-rely-on-time": "off",
"avoid-low-level-calls": "off",
"no-empty-blocks": "off",
"no-inline-assembly": "off",
"avoid-tx-origin": "off",
"prettier/prettier": [
"error",
{
"endOfLine": "lf"
}
],
"reason-string": [
"error",
{
"maxBytes": 64,
"maxLength": 64
}
]
}
}