-
Notifications
You must be signed in to change notification settings - Fork 0
/
.solhint.json
executable file
·51 lines (51 loc) · 1.26 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"extends": "solhint:recommended",
"plugins": [
"chainlink-solidity"
],
"rules": {
"prettier/prettier": "error",
"no-unused-vars": "error",
"contract-name-camelcase": "error",
"event-name-camelcase": "error",
"func-name-mixedcase": "error",
"func-param-name-mixedcase": "error",
"modifier-name-mixedcase": "error",
"imports-on-top": "error",
"compiler-version": [
"off",
"^0.8.20"
],
"const-name-snakecase": "off",
"constructor-syntax": "error",
"var-name-mixedcase": "off",
"func-visibility": [
"error",
{
"ignoreConstructors": true
}
],
"max-line-length": [
"error",
160
],
"not-rely-on-time": "off",
"no-empty-blocks": "warn",
"quotes": [
"error",
"double"
],
"reason-string": [
"warn",
{
"maxLength": 64
}
],
"named-return-values": "off",
"chainlink-solidity/prefix-internal-functions-with-underscore": "warn",
"chainlink-solidity/prefix-private-functions-with-underscore": "warn",
"chainlink-solidity/inherited-constructor-args-not-in-contract-definition": "warn",
"chainlink-solidity/no-block-single-if-reverts": "off",
"chainlink-solidity/explicit-returns": "warn"
}
}