aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/tokens/.solhint.json
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-12-05 21:23:35 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-12-05 22:21:03 +0800
commita365ab11d24ff8365b7d69a948b1b5211b772f5e (patch)
treea5b6f7f83957ee578323d66a00f0b5f233518192 /contracts/tokens/.solhint.json
parent48021a227f7034c2238c64146b2eb05eb8bfb687 (diff)
downloaddexon-0x-contracts-a365ab11d24ff8365b7d69a948b1b5211b772f5e.tar.gz
dexon-0x-contracts-a365ab11d24ff8365b7d69a948b1b5211b772f5e.tar.zst
dexon-0x-contracts-a365ab11d24ff8365b7d69a948b1b5211b772f5e.zip
Refactor out tokens from core contracts package
Diffstat (limited to 'contracts/tokens/.solhint.json')
-rw-r--r--contracts/tokens/.solhint.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/contracts/tokens/.solhint.json b/contracts/tokens/.solhint.json
new file mode 100644
index 000000000..076afe9f3
--- /dev/null
+++ b/contracts/tokens/.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"
+ }
+}