-
Notifications
You must be signed in to change notification settings - Fork 4
/
.solhint.json
27 lines (27 loc) · 979 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
{
"extends": "solhint:recommended",
"plugins": ["lido-csm"],
"rules": {
"compiler-version": ["error", "0.8.24"],
"no-inline-assembly": "off",
"no-unused-import": "error",
"func-named-parameters": "error",
"func-visibility": ["error", { "ignoreConstructors": true }],
"reason-string": ["warn", { "maxLength": 64 }],
"immutable-vars-naming": ["error", { "immutablesAsConstants": true }],
"var-name-mixedcase": "error",
"func-name-mixedcase": "error",
"no-global-import": "error",
"ordering": "warn",
"lido-csm/vars-with-underscore": "error",
"lido-csm/enum-name-camelcase": "error",
"lido-csm/struct-name-camelcase": "error",
"lido-csm/interface-member-order": "error",
"lido-csm/interface-starts-with-i": "error",
"lido-csm/contract-ordering": "off",
"lido-csm/license-checker": "error",
"gas-calldata-parameters": "error",
"gas-custom-errors": "error",
"gas-struct-packing": "error"
}
}