Skip to content

Commit

Permalink
chore: less strict linting
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtekgrinder committed Mar 22, 2024
1 parent 0190f9b commit 81035f8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "solhint:recommended",
"plugins": ["prettier"],
"rules": {
"max-line-length": ["error", 120],
"max-line-length": "off",
"avoid-call-value": "warn",
"avoid-low-level-calls": "off",
"avoid-tx-origin": "warn",
Expand All @@ -23,6 +23,7 @@
"no-complex-fallback": "off",
"reason-string": "off",
"func-visibility": ["warn", { "ignoreConstructors": true }],
"explicit-types": ["error","explicit"]
"explicit-types": ["error","explicit"],
"custom-errors": "off"
}
}
1 change: 1 addition & 0 deletions contracts/interfaces/IVeANGLE.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: GPL-3.0
// solhint-disable

pragma solidity ^0.8.7;

Expand Down
3 changes: 2 additions & 1 deletion contracts/utils/VyperDeployer.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: UNLICENSED
// solhint-disable

pragma solidity ^0.8.7;

Expand All @@ -8,7 +9,7 @@ interface _CheatCodes {
}

contract VyperDeployer {
address constant HEVM_ADDRESS = address(bytes20(uint160(uint256(keccak256("hevm cheat code")))));
address public constant HEVM_ADDRESS = address(bytes20(uint160(uint256(keccak256("hevm cheat code")))));

/// @notice Initializes cheat codes in order to use ffi to compile Vyper contracts
_CheatCodes cheatCodes = _CheatCodes(HEVM_ADDRESS);
Expand Down
Empty file removed test/fuzz/.gitkeep
Empty file.

0 comments on commit 81035f8

Please sign in to comment.