Gelato-automations/.solhint.json

28 lines
925 B
JSON
Raw Normal View History

2020-10-18 10:30:16 +00:00
{
"extends": "solhint:recommended",
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error",
"code-complexity": ["warn", 5],
"function-max-lines": ["warn", 40],
"max-states-count": ["warn", 2],
"reason-string": ["error", {"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.6.12"],
"func-visibility": ["error", {"ignoreConstructors": false}],
"no-inline-assembly": "off",
"state-visibility": "error"
}
}