aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/protocol/.solhint.json
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-12-11 06:37:48 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:19:33 +0800
commit2c58b8a88650fcc4f3622546c02a14bbf211cd07 (patch)
tree9c4dd90c688a5b102f9245d9f95d0e71ad1f31d2 /contracts/protocol/.solhint.json
parentcb53cd05e62b1904184ec14862e48383f80b9c54 (diff)
downloaddexon-0x-contracts-2c58b8a88650fcc4f3622546c02a14bbf211cd07.tar.gz
dexon-0x-contracts-2c58b8a88650fcc4f3622546c02a14bbf211cd07.tar.zst
dexon-0x-contracts-2c58b8a88650fcc4f3622546c02a14bbf211cd07.zip
Rename core package to protocol
Diffstat (limited to 'contracts/protocol/.solhint.json')
-rw-r--r--contracts/protocol/.solhint.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/contracts/protocol/.solhint.json b/contracts/protocol/.solhint.json
new file mode 100644
index 000000000..076afe9f3
--- /dev/null
+++ b/contracts/protocol/.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"
+ }
+}