瀏覽代碼

Configure solhint for solc 0.7

Francisco Giordano 5 年之前
父節點
當前提交
f7ca35c9c6
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      .solhint.json

+ 2 - 1
.solhint.json

@@ -6,6 +6,7 @@
     "no-empty-blocks": "off",
     "compiler-version": ["error", "^0.7.0"],
     "private-vars-leading-underscore": "error",
-    "reason-string": "off"
+    "reason-string": "off",
+    "func-visibility": ["error", { "ignoreConstructors": true }]
   }
 }