Skip to content

chore(lint): mixed-case-function support fn patterns like ERC #11325

@0xrusowsky

Description

@0xrusowsky

Component

Forge

Describe the feature you would like

using multiple capital letters like ERC in a function name triggers the mixed case lint:

note[mixed-case-function]: function names should use mixedCase
  --> /home/doni/github/solady/test/utils/mocks/MockLifebuoy.sol:53:14
   |
53 |     function rescueERC6909(address token, address to, uint256 tokenId, uint256 amount)
   |              -------------
   |
   = help: https://book.getfoundry.sh/reference/forge/forge-lint#mixed-case-function

this should be special cased

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Completed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions