aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/examples/.solhint.json
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-12-11 02:01:38 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-13 01:19:32 +0800
commitdde3a0366ba276409b8523f4647264494b8e8c79 (patch)
treee8d68a0ced467f08321480524e865dce14f8445a /contracts/examples/.solhint.json
parent8e071db074d3ad88a37d2cfc85780c995bc2cd17 (diff)
downloaddexon-sol-tools-dde3a0366ba276409b8523f4647264494b8e8c79.tar
dexon-sol-tools-dde3a0366ba276409b8523f4647264494b8e8c79.tar.gz
dexon-sol-tools-dde3a0366ba276409b8523f4647264494b8e8c79.tar.bz2
dexon-sol-tools-dde3a0366ba276409b8523f4647264494b8e8c79.tar.lz
dexon-sol-tools-dde3a0366ba276409b8523f4647264494b8e8c79.tar.xz
dexon-sol-tools-dde3a0366ba276409b8523f4647264494b8e8c79.tar.zst
dexon-sol-tools-dde3a0366ba276409b8523f4647264494b8e8c79.zip
Refactor out examples
Diffstat (limited to 'contracts/examples/.solhint.json')
-rw-r--r--contracts/examples/.solhint.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/contracts/examples/.solhint.json b/contracts/examples/.solhint.json
new file mode 100644
index 000000000..076afe9f3
--- /dev/null
+++ b/contracts/examples/.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"
+ }
+}