Gelato-automations/.solhint.json
2020-10-23 16:46:29 +02:00

28 lines
921 B
JSON

{
"extends": "solhint:recommended",
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error",
"code-complexity": ["warn", 5],
"function-max-lines": ["warn", 40],
"max-states-count": ["warn", 3],
"reason-string": ["off", {"maxLength": 32}],
"const-name-snakecase": "error",
"contract-name-camelcase": "error",
"event-name-camelcase": "error",
"func-name-mixedcase": "error",
"func-param-name-mixedcase": "error",
"modifier-name-mixedcase": "error",
"private-vars-leading-underscore": ["error", {"strict": false}],
"var-name-mixedcase": "error",
"ordering": "warn",
"visibility-modifier-order": "error",
"avoid-call-value": "off",
"avoid-low-level-calls": "off",
"compiler-version": ["warn", "0.7.4"],
"func-visibility": ["error", {"ignoreConstructors": true}],
"no-inline-assembly": "off",
"state-visibility": "error"
}
}