You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: