|
1 | 1 | { |
2 | | - "extends": "solhint:default", |
| 2 | + "extends": "solhint:recommended", |
| 3 | + "plugins": [], |
3 | 4 | "rules": { |
4 | | - "quotes": ["error", "double"], |
| 5 | + "avoid-call-value": "error", |
| 6 | + "avoid-low-level-calls": "off", |
| 7 | + "avoid-sha3": "error", |
5 | 8 | "avoid-suicide": "error", |
6 | | - "avoid-sha3": "warn", |
7 | | - "avoid-tx-origin": "warn", |
8 | | - "const-name-snakecase": "off", |
9 | | - "func-order": "warn", |
10 | | - "not-rely-on-block-hash": "warn" |
| 9 | + "avoid-throw": "error", |
| 10 | + "avoid-tx-origin": "off", |
| 11 | + "check-send-result": "error", |
| 12 | + "compiler-version": ["error", "0.6.6"], |
| 13 | + "const-name-snakecase": "error", |
| 14 | + "func-name-mixedcase": "error", |
| 15 | + "func-order": "error", |
| 16 | + "imports-on-top": "error", |
| 17 | + "mark-callable-contracts": "error", |
| 18 | + "max-line-length": ["error", 99], |
| 19 | + "max-states-count": ["error", 20], |
| 20 | + "multiple-sends": "error", |
| 21 | + "no-complex-fallback": "error", |
| 22 | + "no-empty-blocks": "off", |
| 23 | + "no-inline-assembly": "error", |
| 24 | + "no-unused-vars": "error", |
| 25 | + "not-rely-on-block-hash": "error", |
| 26 | + "not-rely-on-time": "off", |
| 27 | + "payable-fallback": "error", |
| 28 | + "quotes": ["error","double"], |
| 29 | + "reentrancy": "error", |
| 30 | + "state-visibility": "error", |
| 31 | + "use-forbidden-name": "error", |
| 32 | + "var-name-mixedcase": "error", |
| 33 | + "visibility-modifier-order": "error" |
11 | 34 | } |
12 | 35 | } |
0 commit comments