From 532bb9344f657e440eb41091e5d4e964d935e991 Mon Sep 17 00:00:00 2001 From: Rooh Afza Date: Wed, 17 Jan 2024 17:00:31 -0800 Subject: [PATCH] fix: lint --- packages/splits-v2/src/libraries/Clone.sol | 17 ++++++++++------- packages/splits-v2/src/utils/Pausable.sol | 2 -- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/splits-v2/src/libraries/Clone.sol b/packages/splits-v2/src/libraries/Clone.sol index 4e58912..b7139b2 100644 --- a/packages/splits-v2/src/libraries/Clone.sol +++ b/packages/splits-v2/src/libraries/Clone.sol @@ -1,13 +1,16 @@ // SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.18; -/// @title Modified minimal proxy -/// @author Splits -/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/LibClone.sol) -/// @dev Modified minimal proxy includes a `receive()` method that emits the -/// `ReceiveETH(uint256)` event to skip `DELEGATECALL` when there is no calldata. -/// Enables us to accept hard gas-capped `sends` & `transfers` for maximum backwards -/// composability. +/** + * @title Modified minimal proxy + * @author Splits + * @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/LibClone.sol) + * @dev Modified minimal proxy includes a `receive()` method that emits the + * `ReceiveETH(uint256)` event to skip `DELEGATECALL` when there is no calldata. + * Enables us to accept hard gas-capped `sends` & `transfers` for maximum backwards + * composability. + */ +// solhint-disable no-inline-assembly library Clone { error DeploymentFailed(); diff --git a/packages/splits-v2/src/utils/Pausable.sol b/packages/splits-v2/src/utils/Pausable.sol index a736f2c..6bd7be1 100644 --- a/packages/splits-v2/src/utils/Pausable.sol +++ b/packages/splits-v2/src/utils/Pausable.sol @@ -31,8 +31,6 @@ abstract contract Pausable is Ownable { /* CONSTRUCTOR & INITIALIZER */ /* -------------------------------------------------------------------------- */ - constructor() { } - function __initPausable(address _owner, bool _paused) internal virtual { __initOwnable(_owner); paused = _paused;