Co-authored-by: Arthur Abeilice <afa7789@gmail.com> Reviewed-on: https://git.p2pix.co/doiim/p2pix-smart-contracts/pulls/11 Co-authored-by: arthur <abeilice@kosmos.org> Co-committed-by: arthur <abeilice@kosmos.org>
33 lines
843 B
JSON
33 lines
843 B
JSON
{
|
|
"extends": "solhint:recommended",
|
|
"plugins": ["prettier"],
|
|
"rules": {
|
|
"code-complexity": ["error", 8],
|
|
"avoid-low-level-calls": "off",
|
|
"compiler-version": ["error", ">=0.8.4"],
|
|
"const-name-snakecase": "off",
|
|
"constructor-syntax": "error",
|
|
"func-visibility": [
|
|
"error",
|
|
{ "ignoreConstructors": true }
|
|
],
|
|
"function-max-lines": "off",
|
|
"gas-calldata-parameters": "off",
|
|
"gas-indexed-events": "off",
|
|
"gas-strict-inequalities": "off",
|
|
"gas-struct-packing": "off",
|
|
"interface-starts-with-i": "off",
|
|
"max-line-length": ["error", 120],
|
|
"no-inline-assembly": "off",
|
|
"not-rely-on-time": "off",
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
"endOfLine": "auto"
|
|
}
|
|
],
|
|
"reason-string": ["warn", { "maxLength": 64 }],
|
|
"use-natspec": "off"
|
|
}
|
|
}
|