From c546d3818786b0c5d6e09079879e19560ff60417 Mon Sep 17 00:00:00 2001 From: Andres Adjimann Date: Wed, 23 Aug 2023 12:12:38 -0300 Subject: [PATCH] fix: disable custom errors check --- packages/example-hardhat/.solhint.json | 3 ++- packages/giveaway/.solhint.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/example-hardhat/.solhint.json b/packages/example-hardhat/.solhint.json index 6333c2b430..f89501544f 100644 --- a/packages/example-hardhat/.solhint.json +++ b/packages/example-hardhat/.solhint.json @@ -9,6 +9,7 @@ } ], "compiler-version": ["error", "^0.8.0"], - "func-visibility": ["error", {"ignoreConstructors": true}] + "func-visibility": ["error", {"ignoreConstructors": true}], + "custom-errors": "off" } } diff --git a/packages/giveaway/.solhint.json b/packages/giveaway/.solhint.json index 017b188e81..e246706c56 100644 --- a/packages/giveaway/.solhint.json +++ b/packages/giveaway/.solhint.json @@ -12,6 +12,7 @@ "compiler-version": ["error", "^0.8.0"], "func-name-mixedcase": "off", "func-visibility": ["error", {"ignoreConstructors": true}], - "not-rely-on-time": "off" + "not-rely-on-time": "off", + "custom-errors": "off" } }