Skip to content

Commit

Permalink
test: remove unused imports (#43)
Browse files Browse the repository at this point in the history
* build: add solhint-community node.js dep

* build: remove solhint node.js dep

* test: remove unused imports
  • Loading branch information
juanpcapurro authored Jul 5, 2023
1 parent cbb87d6 commit a82833d
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 28 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"prettier": "^2.8.7",
"solhint": "^3.4.1"
"solhint-community": "^3.5.2"
},
"files": [
"src",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions test/token/erc20-normalizer/ERC20Normalizer.t.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19 <0.9.0;

import { IERC20 } from "src/token/erc20/IERC20.sol";

import { ERC20NormalizerMock } from "../../shared/ERC20NormalizerMock.t.sol";
import { Base_Test } from "../../Base.t.sol";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19 <0.9.0;

import { IERC20 } from "src/token/erc20/IERC20.sol";
import { ERC20GodMode } from "src/token/erc20/ERC20GodMode.sol";
import { ERC20Normalizer } from "src/token/erc20/ERC20Normalizer.sol";
import { IERC20Normalizer } from "src/token/erc20/IERC20Normalizer.sol";

import { ERC20Normalizer_Test } from "../ERC20Normalizer.t.sol";
Expand Down
5 changes: 0 additions & 5 deletions test/token/erc20-normalizer/denormalize/denormalize.t.sol
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19 <0.9.0;

import { IERC20 } from "src/token/erc20/IERC20.sol";
import { ERC20GodMode } from "src/token/erc20/ERC20GodMode.sol";
import { ERC20Normalizer } from "src/token/erc20/ERC20Normalizer.sol";
import { IERC20Normalizer } from "src/token/erc20/IERC20Normalizer.sol";

import { ERC20Normalizer_Test } from "../ERC20Normalizer.t.sol";

contract Denormalize_Test is ERC20Normalizer_Test {
Expand Down
5 changes: 0 additions & 5 deletions test/token/erc20-normalizer/normalize/normalize.t.sol
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19 <0.9.0;

import { IERC20 } from "src/token/erc20/IERC20.sol";
import { ERC20GodMode } from "src/token/erc20/ERC20GodMode.sol";
import { ERC20Normalizer } from "src/token/erc20/ERC20Normalizer.sol";
import { IERC20Normalizer } from "src/token/erc20/IERC20Normalizer.sol";

import { stdError } from "forge-std/StdError.sol";

import { ERC20Normalizer_Test } from "../ERC20Normalizer.t.sol";
Expand Down
2 changes: 0 additions & 2 deletions test/token/erc20/ERC20.t.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19 <0.9.0;

import { ERC20 } from "src/token/erc20/ERC20.sol";

import { Base_Test } from "../../Base.t.sol";

/// @notice Common logic needed by all {ERC20} tests.
Expand Down
2 changes: 0 additions & 2 deletions test/token/erc20/approve/approve.t.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19 <0.9.0;

import { stdError } from "forge-std/StdError.sol";

import { IERC20 } from "src/token/erc20/IERC20.sol";

import { ERC20_Test } from "../ERC20.t.sol";
Expand Down
2 changes: 0 additions & 2 deletions test/token/erc20/transfer-from/transferFrom.t.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19 <0.9.0;

import { stdError } from "forge-std/StdError.sol";

import { IERC20 } from "src/token/erc20/IERC20.sol";

import { ERC20_Test } from "../ERC20.t.sol";
Expand Down
2 changes: 0 additions & 2 deletions test/token/erc20/transfer/transfer.t.sol
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.19 <0.9.0;

import { stdError } from "forge-std/StdError.sol";

import { IERC20 } from "src/token/erc20/IERC20.sol";

import { ERC20_Test } from "../ERC20.t.sol";
Expand Down

0 comments on commit a82833d

Please sign in to comment.