solhint icon indicating copy to clipboard operation
solhint copied to clipboard

Solhint Conflicting Naming Convention for Event Names

Open soroush-khoshnoudi opened this issue 5 months ago • 0 comments

When developing smart contracts in Solidity, it is a common convention to write event names in CapWord style (also known as PascalCase), such as BeforeTransfer, AfterTransfer, etc., as per Solidity documentation and best practices. However, when I run Solhint to lint my code, I encounter an error stating that "event name should be camel case." This creates a conflict between Solhint's linting rules and the recommended Solidity naming conventions.

solidity event name style guide

soroush-khoshnoudi avatar Sep 01 '24 13:09 soroush-khoshnoudi