From b06f0bf87e65a7fc22e760cfc4c2ade71903f227 Mon Sep 17 00:00:00 2001 From: Vineet <136347926+Vineetkg20@users.noreply.github.com> Date: Fri, 18 Oct 2024 16:28:38 +0530 Subject: [PATCH 1/2] Updated .solhint.json --- .solhint.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.solhint.json b/.solhint.json index f3e31e8..a7e9157 100644 --- a/.solhint.json +++ b/.solhint.json @@ -2,6 +2,16 @@ "extends": "solhint:recommended", "rules": { "compiler-version": ["error", "^0.8.0"], - "func-visibility": ["warn", { "ignoreConstructors": true }] + "func-visibility": ["error", { "ignoreConstructors": false }], + "max-line-length": ["warn", 120], + "no-unused-vars": "warn", + "avoid-using-with": "error", + "no-empty-blocks": "error", + "constructor-super": "error", + "not-rely-on-time": "warn", + "multiple-imports": "error", + "no-inline-assembly": "error", + "variable-name": ["error", { "ignoreDestructuring": true }], + "revert": "error" } } From 8ea5b54d65ae9cc0f8c1a35e1db5ed3ab9cd4003 Mon Sep 17 00:00:00 2001 From: Vineet <136347926+Vineetkg20@users.noreply.github.com> Date: Fri, 18 Oct 2024 16:34:30 +0530 Subject: [PATCH 2/2] Update .solhint.json