diff --git a/.solhint.json b/.solhint.json index 067560fd..744b9dad 100644 --- a/.solhint.json +++ b/.solhint.json @@ -3,7 +3,6 @@ "plugins": [], "rules": { "avoid-suicide": "error", - "avoid-sha3": "warn", - "quotes": "warn" + "avoid-sha3": "warn" } } diff --git a/package.json b/package.json index 42f6416d..0c2ea30e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "test": "forge test -v", "prettier:check": "prettier --check \"(contracts|test|script)/**/*.sol\"", "prettier:fix": "prettier --write \"(contracts|test|script)/**/*.sol\"", - "lint": "solhint -w 3 'contracts/**/*.sol' 'test/**/*.sol' 'script/**/*.sol'" + "lint": "solhint 'contracts/**/*.sol' 'test/**/*.sol' 'script/**/*.sol'" }, "repository": { "type": "git", diff --git a/test/foundry_tests/PermissionedPool.t.sol b/test/foundry_tests/PermissionedPool.t.sol index 0e4d0a0e..62da0681 100644 --- a/test/foundry_tests/PermissionedPool.t.sol +++ b/test/foundry_tests/PermissionedPool.t.sol @@ -109,7 +109,7 @@ contract PermissionedPoolTest is Test { address externalEOA = vm.addr(1000); startHoax(externalEOA); vm.expectRevert(IStaderPoolBase.UnsupportedOperation.selector); - payable(permissionedPool).call{ value: 1 ether }('abi.encodeWithSignature("nonExistentFunction()")'); + payable(permissionedPool).call{ value: 1 ether }(abi.encodeWithSignature("nonExistentFunction()")); vm.stopPrank(); } diff --git a/test/foundry_tests/PermissionlessPool.t.sol b/test/foundry_tests/PermissionlessPool.t.sol index bfd59ad2..97c429c1 100644 --- a/test/foundry_tests/PermissionlessPool.t.sol +++ b/test/foundry_tests/PermissionlessPool.t.sol @@ -106,7 +106,7 @@ contract PermissionlessPoolTest is Test { address externalEOA = vm.addr(1000); startHoax(externalEOA); vm.expectRevert(IStaderPoolBase.UnsupportedOperation.selector); - payable(permissionlessPool).call{ value: 1 ether }('abi.encodeWithSignature("nonExistentFunction()")'); + payable(permissionlessPool).call{ value: 1 ether }(abi.encodeWithSignature("nonExistentFunction()")); vm.stopPrank(); } diff --git a/test/foundry_tests/StaderStakePoolManager.t.sol b/test/foundry_tests/StaderStakePoolManager.t.sol index 2d21905d..bc605485 100644 --- a/test/foundry_tests/StaderStakePoolManager.t.sol +++ b/test/foundry_tests/StaderStakePoolManager.t.sol @@ -117,7 +117,7 @@ contract StaderStakePoolManagerTest is Test { address externalEOA = vm.addr(1000); startHoax(externalEOA); vm.expectRevert(IStaderStakePoolManager.UnsupportedOperation.selector); - payable(stakePoolManager).call{ value: 1 ether }('abi.encodeWithSignature("nonExistentFunction()")'); + payable(stakePoolManager).call{ value: 1 ether }(abi.encodeWithSignature("nonExistentFunction()")); vm.stopPrank(); }