diff --git a/solidity/.solhint.json b/solidity/.solhint.json index d7c3de98..434228e0 100644 --- a/solidity/.solhint.json +++ b/solidity/.solhint.json @@ -1,3 +1,7 @@ { - "extends": "solhint:default" + "extends": "solhint:default", + "rules": { + "ordering": "warn", + "private-vars-leading-underscore": ["warn", { "strict": false }] + } } diff --git a/solidity/package.json b/solidity/package.json index da9d41e6..54a2d35b 100644 --- a/solidity/package.json +++ b/solidity/package.json @@ -10,7 +10,7 @@ "scripts": { "build": "forge build", "test": "forge test", - "lint": "solhint src/**/*.sol", + "lint": "npx solhint src/**/*.sol", "prettier": "prettier --write ./src ./test", "coverage": "forge coverage --report summary" }, diff --git a/solidity/src/FeesManager.sol b/solidity/src/FeesManager.sol index 4b69ccad..c2c469a3 100644 --- a/solidity/src/FeesManager.sol +++ b/solidity/src/FeesManager.sol @@ -16,7 +16,6 @@ contract FeesManager is IFeesManager, Ownable { bytes32 public WITHDRAW_ROLE; bytes32 public UPGRADE_ROLE; bytes32 public SET_FEE_ROLE; - bytes32 SLOT_DESTINATION_CHAIN_ID = keccak256("SLOT_DESTINATION_CHAIN_ID"); struct Fee { uint256 minFee;