Skip to content

Commit

Permalink
use solhint-community (#143)
Browse files Browse the repository at this point in the history
* use solhint-community

* chore: move solhint-disable

---------

Co-authored-by: Paul Razvan Berg <[email protected]>
  • Loading branch information
juanpcapurro and PaulRBerg authored Jul 24, 2023
1 parent d9c6943 commit 2a0c05d
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
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
// solhint-disable no-unused-import
pragma solidity >=0.8.19;

import { IAllowanceTransfer } from "@uniswap/permit2/interfaces/IAllowanceTransfer.sol";
Expand Down
1 change: 1 addition & 0 deletions src/types/Proxy.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
// solhint-disable no-unused-import
pragma solidity >=0.8.19;

// Proxy.sol
Expand Down

0 comments on commit 2a0c05d

Please sign in to comment.