-
Notifications
You must be signed in to change notification settings - Fork 1
/
.solhint.json
30 lines (30 loc) · 1001 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
{
"extends": "solhint:recommended",
"rules": {
"max-line-length": ["error", 1000],
"func-visibility": ["error", { "ignoreConstructors": true }],
"modifier-name-mixedcase": "error",
"func-param-name-mixedcase": "error",
"gas-calldata-parameters": "error",
"gas-increment-by-one": "error",
"gas-struct-packing": "error",
"no-unused-vars": "error",
"no-unused-import": "error",
"interface-starts-with-i": "error",
"ordering": "error",
"private-vars-leading-underscore": "error",
"gas-length-in-loops": "error",
"const-name-snakecase": "error",
"contract-name-camelcase": "error",
"event-name-camelcase": "error",
"func-name-mixedcase": "error",
"immutable-vars-naming": "error",
"use-forbidden-name": "error",
"var-name-mixedcase": "error",
"imports-on-top": "error",
"visibility-modifier-order": "error",
"reason-string": "error",
"gas-custom-errors": "off",
"max-states-count": ["error", 20]
}
}