diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-07-07 00:51:09 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-07-07 00:51:09 +0800 |
commit | e796734659ddea76622d81b4416e0b36d5e7c0ed (patch) | |
tree | e19d0d4d026576d965fe7adb2145f0803eea4ead /packages/contracts/.solhint.json | |
parent | 16dc4e9f6606b977ea75a6bd2d444dcf060e1617 (diff) | |
download | dexon-sol-tools-e796734659ddea76622d81b4416e0b36d5e7c0ed.tar dexon-sol-tools-e796734659ddea76622d81b4416e0b36d5e7c0ed.tar.gz dexon-sol-tools-e796734659ddea76622d81b4416e0b36d5e7c0ed.tar.bz2 dexon-sol-tools-e796734659ddea76622d81b4416e0b36d5e7c0ed.tar.lz dexon-sol-tools-e796734659ddea76622d81b4416e0b36d5e7c0ed.tar.xz dexon-sol-tools-e796734659ddea76622d81b4416e0b36d5e7c0ed.tar.zst dexon-sol-tools-e796734659ddea76622d81b4416e0b36d5e7c0ed.zip |
Update linter config
Diffstat (limited to 'packages/contracts/.solhint.json')
-rw-r--r-- | packages/contracts/.solhint.json | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/packages/contracts/.solhint.json b/packages/contracts/.solhint.json index 7e3b4dca2..594fce677 100644 --- a/packages/contracts/.solhint.json +++ b/packages/contracts/.solhint.json @@ -1,17 +1,20 @@ { "extends": "default", "rules": { - "bracket-align": "warn", - "code-complexity": "warn", - "const-name-snakecase": "warn", - "expression-indent": "warn", - "function-max-lines": "warn", - "statement-indent": "warn", - "indent": ["warn", 4], + "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"], - "max-line-length": ["warn", 120], - "separate-by-one-line-in-contract": "warn", + "separate-by-one-line-in-contract": "error", "space-after-comma": "error", - "func-order": "warn" + "statement-indent": "error" } } |