From 65678bdc141f8ca1d09511fd314e63d8aeceb9f0 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Thu, 23 Nov 2023 16:35:09 +0100 Subject: [PATCH] For solidity>7.0 visibility for contracts can be ignored --- core/.solhint.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/.solhint.json b/core/.solhint.json index 7afe6405c..99b128dc9 100644 --- a/core/.solhint.json +++ b/core/.solhint.json @@ -1,5 +1,7 @@ { "extends": "thesis", "plugins": [], - "rules": {} + "rules": { + "func-visibility": ["warn", { "ignoreConstructors": true }] + } }