aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/extensions/.solhint.json
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-12-11 02:53:25 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-12-11 02:53:25 +0800
commit924c2705b28f5821fd36d653fb3f7aa7bb015caf (patch)
tree99bd6a5ba4bc18c5fabbd40122bfec0f859e7de7 /contracts/extensions/.solhint.json
parentb88ff0a19ff7695086107cbcffe980dc4ad84e10 (diff)
downloaddexon-sol-tools-924c2705b28f5821fd36d653fb3f7aa7bb015caf.tar
dexon-sol-tools-924c2705b28f5821fd36d653fb3f7aa7bb015caf.tar.gz
dexon-sol-tools-924c2705b28f5821fd36d653fb3f7aa7bb015caf.tar.bz2
dexon-sol-tools-924c2705b28f5821fd36d653fb3f7aa7bb015caf.tar.lz
dexon-sol-tools-924c2705b28f5821fd36d653fb3f7aa7bb015caf.tar.xz
dexon-sol-tools-924c2705b28f5821fd36d653fb3f7aa7bb015caf.tar.zst
dexon-sol-tools-924c2705b28f5821fd36d653fb3f7aa7bb015caf.zip
Refactor our extensions package
Diffstat (limited to 'contracts/extensions/.solhint.json')
-rw-r--r--contracts/extensions/.solhint.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/contracts/extensions/.solhint.json b/contracts/extensions/.solhint.json
new file mode 100644
index 000000000..076afe9f3
--- /dev/null
+++ b/contracts/extensions/.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"
+ }
+}