-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
A-configArea: configArea: configC-forgeCommand: forgeCommand: forgeCmd-forge-fmtCommand: forge fmtCommand: forge fmtT-featureType: featureType: feature
Description
Component
Forge
Describe the feature you would like
As discussed here with @mds1, it would be helpful to be able to make line_length
a hard requirement. At the moment, forge fmt
will leave untouched those statements that exceed the line length by 1 or 2 characters. For instance:
error SablierV2Pro__NetDepositAmountNotEqualToSegmentAmountsSum(uint128 netDepositAmount, uint128 segmentAmountsSum);
This line has 121 lines, but I have set the line_length
to 1.
This is problematic because other Solidity linting tools (e.g. Solhint) consider the max-line-length
rule to be a hard requirement.
dalechyn, dionysuzx, Slokh, danielcrt, IaroslavMazur and 1 more
Metadata
Metadata
Assignees
Labels
A-configArea: configArea: configC-forgeCommand: forgeCommand: forgeCmd-forge-fmtCommand: forge fmtCommand: forge fmtT-featureType: featureType: feature
Type
Projects
Status
Todo