From 0a9fdc4fa833d2db252d829fd1d25e8a1e840b92 Mon Sep 17 00:00:00 2001 From: rymnc <43716372+rymnc@users.noreply.github.com> Date: Mon, 31 Jul 2023 20:16:20 +0530 Subject: [PATCH] fix: hide 5740 and 5667 errors --- foundry.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/foundry.toml b/foundry.toml index 4f3bf9f..b58d672 100644 --- a/foundry.toml +++ b/foundry.toml @@ -3,4 +3,8 @@ src = 'contracts' out = 'out' libs = ['node_modules', 'lib'] test = 'test' -cache_path = 'cache_forge' \ No newline at end of file +cache_path = 'cache_forge' + +# 5667: Unused function parameter. Remove or comment out the variable name to silence this warning. +# 5740: Unreachable code. +ignored_error_codes = [5667, 5740] \ No newline at end of file