mirror of
https://github.com/Instadapp/Gelato-automations.git
synced 2024-07-29 22:28:07 +00:00
28 lines
921 B
JSON
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"
|
|
}
|
|
}
|