diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-04 21:41:18 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-04 21:41:18 +0800 |
commit | e8d0aff333c33ead5da0878fa776aa0f42abd567 (patch) | |
tree | 28dc73fd2e3b524cb2a32465d88ad30cfb6799d4 /contracts/utils/.solhint.json | |
parent | 79f5e36edbd8a4483aac46032092dece95bb0b4c (diff) | |
download | dexon-sol-tools-e8d0aff333c33ead5da0878fa776aa0f42abd567.tar dexon-sol-tools-e8d0aff333c33ead5da0878fa776aa0f42abd567.tar.gz dexon-sol-tools-e8d0aff333c33ead5da0878fa776aa0f42abd567.tar.bz2 dexon-sol-tools-e8d0aff333c33ead5da0878fa776aa0f42abd567.tar.lz dexon-sol-tools-e8d0aff333c33ead5da0878fa776aa0f42abd567.tar.xz dexon-sol-tools-e8d0aff333c33ead5da0878fa776aa0f42abd567.tar.zst dexon-sol-tools-e8d0aff333c33ead5da0878fa776aa0f42abd567.zip |
Refactor @0x/contracts-utils from @0x/contracts-core
Diffstat (limited to 'contracts/utils/.solhint.json')
-rw-r--r-- | contracts/utils/.solhint.json | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/contracts/utils/.solhint.json b/contracts/utils/.solhint.json new file mode 100644 index 000000000..076afe9f3 --- /dev/null +++ b/contracts/utils/.solhint.json @@ -0,0 +1,20 @@ +{ + "extends": "default", + "rules": { + "avoid-low-level-calls": false, + "avoid-tx-origin": "warn", + "bracket-align": false, + "code-complexity": false, + "const-name-snakecase": "error", + "expression-indent": "error", + "function-max-lines": false, + "func-order": "error", + "indent": ["error", 4], + "max-line-length": ["warn", 160], + "no-inline-assembly": false, + "quotes": ["error", "double"], + "separate-by-one-line-in-contract": "error", + "space-after-comma": "error", + "statement-indent": "error" + } +} |