-
Notifications
You must be signed in to change notification settings - Fork 0
/
.solhint.json
28 lines (28 loc) · 1006 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",
"rules": {
"code-complexity": ["error", 7],
"compiler-version": ["error", ">=0.8.24"],
"constructor-syntax": "error",
"func-visibility": ["error", { "ignoreConstructors": true }],
"function-max-lines": ["error", 50],
"func-named-parameters": ["error", 4],
"func-param-name-mixedcase": "error",
"gas-calldata-parameters": "error",
"gas-increment-by-one": "error",
"gas-indexed-events": "error",
"gas-length-in-loops": "error",
"gas-multitoken1155": "error",
"gas-named-return-values": "error",
"gas-small-strings": "error",
"gas-strict-inequalities": "error",
"gas-struct-packing": "warn",
"interface-starts-with-i": "error",
"max-line-length": ["error", 120],
"ordering": "error",
"named-parameters-mapping": "warn",
"modifier-name-mixedcase": "error",
"private-vars-leading-underscore": ["error", { "strict": false }],
"reason-string": ["error", { "maxLength": 64 }]
}
}