Skip to content

Commit

Permalink
use solhint-community
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpcapurro committed Jul 24, 2023
1 parent d9c6943 commit 5fee098
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"prettier": "^2.8.8",
"solhint": "^3.4.1"
"solhint-community": "^3.7.0-rc00"
},
"files": [
"artifacts",
Expand Down
12 changes: 6 additions & 6 deletions pnpm-lock.yaml

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

1 change: 1 addition & 0 deletions src/types/Permit2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
pragma solidity >=0.8.19;

import { IAllowanceTransfer } from "@uniswap/permit2/interfaces/IAllowanceTransfer.sol";
// solhint-disable-next-line no-unused-import
import { IPermit2 } from "@uniswap/permit2/interfaces/IPermit2.sol"; // unused but re-exported for convenience

/// @notice A struct encapsulating the parameters needed for Permit2.
Expand Down
1 change: 1 addition & 0 deletions src/types/Proxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pragma solidity >=0.8.19;
//
// This file re-exports all PRBProxy interfaces used in V2 Periphery. It is provided for convenience so
// that users don't have to install PRBProxy separately.
// solhint-disable no-unused-import

import { IPRBProxy } from "@prb/proxy/interfaces/IPRBProxy.sol";
import { IPRBProxyPlugin } from "@prb/proxy/interfaces/IPRBProxyPlugin.sol";
Expand Down

0 comments on commit 5fee098

Please sign in to comment.