Skip to content

feat(fmt): option to remove spaces between number and exponent #4512

Open
@0xPhaze

Description

@0xPhaze

Component

Forge

Describe the feature you would like

forge fmt adds spaces between the number and exponent which can make it harder to read:

uint256 a = 3 * 10**18 / 2;

gets turned into

uint256 a = 3 * 10 ** 18 / 2;

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions