From 7b39e516d85a81070cf80e1fb17327f477ecf1de Mon Sep 17 00:00:00 2001 From: Gas One Cent <86567384+gas1cent@users.noreply.github.com> Date: Mon, 5 Feb 2024 12:26:24 +0400 Subject: [PATCH] style: resolve linter warnings --- .solhint.tests.json | 3 ++- test/integration/IntegrationBase.sol | 2 +- test/unit/Greeter.t.sol | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.solhint.tests.json b/.solhint.tests.json index c1800a5f..028b56d1 100644 --- a/.solhint.tests.json +++ b/.solhint.tests.json @@ -18,6 +18,7 @@ "private-vars-leading-underscore": ["warn", { "strict": false }], "ordering": "warn", "immutable-name-snakecase": "warn", - "avoid-low-level-calls": "off" + "avoid-low-level-calls": "off", + "one-contract-per-file": "off" } } diff --git a/test/integration/IntegrationBase.sol b/test/integration/IntegrationBase.sol index 99e038f3..e5c26e87 100644 --- a/test/integration/IntegrationBase.sol +++ b/test/integration/IntegrationBase.sol @@ -2,7 +2,7 @@ pragma solidity =0.8.23; import {Greeter, IGreeter} from 'contracts/Greeter.sol'; -import {Test, console2} from 'forge-std/Test.sol'; +import {Test} from 'forge-std/Test.sol'; import {IERC20} from 'isolmate/interfaces/tokens/IERC20.sol'; contract IntegrationBase is Test { diff --git a/test/unit/Greeter.t.sol b/test/unit/Greeter.t.sol index fd372444..7714bf4d 100644 --- a/test/unit/Greeter.t.sol +++ b/test/unit/Greeter.t.sol @@ -2,7 +2,7 @@ pragma solidity =0.8.23; import {Greeter, IGreeter} from 'contracts/Greeter.sol'; -import {Test, console2} from 'forge-std/Test.sol'; +import {Test} from 'forge-std/Test.sol'; import {IERC20} from 'isolmate/interfaces/tokens/IERC20.sol'; abstract contract Base is Test {