-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.solhint.json
More file actions
29 lines (29 loc) · 958 Bytes
/
.solhint.json
File metadata and controls
29 lines (29 loc) · 958 Bytes
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
{
"extends": "solhint:recommended",
"rules": {
"compiler-version": ["error", "^0.8.0"],
"func-visibility": ["warn", { "ignoreConstructors": true }],
"max-line-length": ["error", 120],
"not-rely-on-time": "off",
"avoid-suicide": "error",
"avoid-sha3": "warn",
"bracket-align": "error",
"code-complexity": ["error", 8],
"const-name-snakecase": "error",
"contract-name-camelcase": "error",
"event-name-camelcase": "error",
"func-name-mixedcase": "error",
"func-param-name-mixedcase": "error",
"modifier-name-mixedcase": "error",
"private-vars-leading-underscore": "error",
"use-forbidden-name": "error",
"var-name-mixedcase": "error",
"imports-on-top": "error",
"ordering": "error",
"visibility-modifier-order": "error",
"no-unused-vars": "error",
"payable-fallback": "error",
"reason-string": ["warn", { "maxLength": 64 }],
"constructor-syntax": "error"
}
}