Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solhint Conflicting Naming Convention for Event Names #600

Open
soroush-khoshnoudi opened this issue Sep 1, 2024 · 0 comments
Open

Solhint Conflicting Naming Convention for Event Names #600

soroush-khoshnoudi opened this issue Sep 1, 2024 · 0 comments

Comments

@soroush-khoshnoudi
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant