forked from AztecProtocol/aztec-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.solhint.json
24 lines (24 loc) · 938 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
{
"extends": "solhint:recommended",
"rules": {
"compiler-version": ["error", ">=0.8.4"],
"no-inline-assembly": "off",
"func-visibility": ["error", { "ignoreConstructors": true }],
"no-empty-blocks": "off",
"no-unused-vars": ["error"],
"state-visibility": ["error"],
"not-rely-on-time": "off",
"const-name-snakecase": ["error", { "treatImmutableVarAsConstant": true }],
"var-name-mixedcase": ["error", { "treatImmutableVarAsConstant": true }],
"custom-error-name-camelcase": ["error", { "allowPrefix": true }],
"private-func-leading-underscore": ["error"],
"private-vars-no-leading-underscore": ["error"],
"func-param-name-leading-underscore": ["error"],
"func-param-name-mixedcase": ["error"],
"custom-error-over-require": ["error"],
"strict-override": ["error"],
"strict-import": ["error"],
"ordering": ["error"],
"comprehensive-interface": ["error"]
}
}