Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
drinkcoffee committed Jan 25, 2024
1 parent 07e9ea5 commit bf87b12
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 7 deletions.
3 changes: 0 additions & 3 deletions contracts/token/erc1155/abstract/ImmutableERC1155Base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ import {ERC1155, ERC1155Permit} from "../../../token/erc1155/abstract/ERC1155Per
import {ERC2981} from "@openzeppelin/contracts/token/common/ERC2981.sol";
import {OperatorAllowlistEnforced} from "../../../allowlist/OperatorAllowlistEnforced.sol";

// Utils
import {BitMaps} from "@openzeppelin/contracts/utils/structs/BitMaps.sol";

abstract contract ImmutableERC1155Base is OperatorAllowlistEnforced, ERC1155Permit, ERC2981 {
/// @dev Contract level metadata
string public contractURI;
Expand Down
1 change: 0 additions & 1 deletion contracts/token/erc721/abstract/ERC721HybridPermit.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: Apache 2.0
pragma solidity 0.8.19;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ECDSA} from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import {EIP712} from "@openzeppelin/contracts/utils/cryptography/EIP712.sol";
import {IERC1271} from "@openzeppelin/contracts/interfaces/IERC1271.sol";
Expand Down
1 change: 0 additions & 1 deletion contracts/token/erc721/abstract/ERC721Permit.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: Apache 2.0
pragma solidity 0.8.19;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ECDSA} from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import {EIP712} from "@openzeppelin/contracts/utils/cryptography/EIP712.sol";
import {IERC1271} from "@openzeppelin/contracts/interfaces/IERC1271.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/token/erc721/abstract/ImmutableERC721Base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ abstract contract ImmutableERC721Base is OperatorAllowlistEnforced, MintingAcces
}

/// @notice A mapping of tokens that have been burned to prevent re-minting
BitMaps.BitMap _burnedTokens;
BitMaps.BitMap private _burnedTokens;

/// ===== Constructor =====

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test": "hardhat test",
"prettier:solidity": "./node_modules/.bin/prettier --write --plugin=prettier-plugin-solidity contracts/**/*.sol",
"lint": "eslint . --ext .ts,.tsx --fix && solhint --config ./.solhint.json contracts/**/*.sol",
"eslint": "eslint . --ext .ts,.tsx",
"eslint": "eslint clients --ext .ts,.tsx",
"solhint": "solhint --config ./.solhint.json",
"clean": "hardhat clean",
"coverage": "hardhat coverage"
Expand Down

0 comments on commit bf87b12

Please sign in to comment.