fission-suite/fission-translate

View on GitHub
.solhint.json

Summary

Maintainability
Test Coverage
{
    "extends": "default",
    "rules": {
      "reentrancy": "error",
      "avoid-sha3": "error",
      "avoid-suicide": "error",
      "avoid-throw": "error",
      "func-visibility": "error",
      "state-visibility": "error",
      "check-send-result": "error",
      "avoid-call-value": "error",
      "compiler-fixed": "error",
      "compiler-gt-0_4": "error",
      "no-complex-fallback": "error",
      "mark-callable-contracts": "error",
      "multiple-sends": "error",
      "no-simple-event-func-name": "error",
      "avoid-tx-origin": "error",
      "no-inline-assembly": "error",
      "not-rely-on-block-hash": "error",
      "avoid-low-level-calls": "error",

      "func-name-mixedcase": "error",
      "func-param-name-mixedcase": "error",
      "var-name-mixedcase": "error",
      "event-name-camelcase": "error",
      "const-name-snakecase": "error",
      "modifier-name-mixedcase": "error",
      "contract-name-camelcase": "error",
      "use-forbidden-name": "error",
      "visibility-modifier-order": "error",
      "imports-on-top": "error",
      "two-lines-top-level-separator": "error",
      "func-order": "error",
      "quotes": ["error", "double"],
      "no-mix-tabs-and-spaces": "error",
      "indent": ["error", 4],
      "bracket-align": "error",
      "array-declaration-spaces": "error",
      "separate-by-one-line-in-contract": "error",
      "expression-indent": "error",
      "statement-indent": "error",
      "space-after-comma": "error",
      "no-spaces-before-semicolon": "error",

      "max-line-length": ["error", 120],
      "payable-fallback": "error",
      "no-empty-blocks": "error",
      "no-unused-vars": "error",
      "function-max-lines": ["error", 45],
      "code-complexity": ["error", 7],
      "max-states-count": ["error", 15]
    }
}