|
| 1 | +{ |
| 2 | + "extends": "solhint:recommended", |
| 3 | + "plugins": ["prettier"], |
| 4 | + "rules": { |
| 5 | + "prettier/prettier": "error", |
| 6 | + "code-complexity": ["error", 5], |
| 7 | + "function-max-lines": ["error", 40], |
| 8 | + "max-line-length": ["error", 100], |
| 9 | + "max-states-count": ["error", 3], |
| 10 | + "no-empty-blocks": "error", |
| 11 | + "no-unused-vars": "error", |
| 12 | + "payable-fallback": "off", |
| 13 | + "reason-string": ["off", { "maxLength": 32 }], |
| 14 | + "constructor-syntax": "off", |
| 15 | + "comprehensive-interface": "off", |
| 16 | + "quotes": ["error", "double"], |
| 17 | + "const-name-snakecase": "error", |
| 18 | + "contract-name-camelcase": "error", |
| 19 | + "event-name-camelcase": "error", |
| 20 | + "func-name-mixedcase": "error", |
| 21 | + "func-param-name-mixedcase": "error", |
| 22 | + "modifier-name-mixedcase": "error", |
| 23 | + "private-vars-leading-underscore": ["error", { "strict": false }], |
| 24 | + "var-name-mixedcase": "error", |
| 25 | + "imports-on-top": "error", |
| 26 | + "ordering": "error", |
| 27 | + "visibility-modifier-order": "error", |
| 28 | + "avoid-call-value": "off", |
| 29 | + "avoid-low-level-calls": "off", |
| 30 | + "avoid-sha3": "error", |
| 31 | + "avoid-suicide": "error", |
| 32 | + "avoid-throw": "error", |
| 33 | + "avoid-tx-origin": "off", |
| 34 | + "check-send-result": "error", |
| 35 | + "compiler-version": ["error", "0.8.11"], |
| 36 | + "mark-callable-contracts": "off", |
| 37 | + "func-visibility": ["error", { "ignoreConstructors": true }], |
| 38 | + "multiple-sends": "error", |
| 39 | + "no-complex-fallback": "error", |
| 40 | + "no-inline-assembly": "off", |
| 41 | + "not-rely-on-block-hash": "error", |
| 42 | + "not-rely-on-time": "error", |
| 43 | + "reentrancy": "error", |
| 44 | + "state-visibility": "error" |
| 45 | + } |
| 46 | +} |
0 commit comments