aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/core/.solhint.json
diff options
context:
space:
mode:
Diffstat (limited to 'contracts/core/.solhint.json')
-rw-r--r--contracts/core/.solhint.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/contracts/core/.solhint.json b/contracts/core/.solhint.json
new file mode 100644
index 000000000..076afe9f3
--- /dev/null
+++ b/contracts/core/.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"
+ }
+}