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

Add one-contract-per-file rule #154

Closed
fvictorio opened this issue Sep 5, 2019 · 1 comment
Closed

Add one-contract-per-file rule #154

fvictorio opened this issue Sep 5, 2019 · 1 comment
Labels

Comments

@fvictorio
Copy link
Contributor

According to the style guide:

Contract and library names should also match their filenames.
If a contract file includes multiple contracts and/or libraries, then the filename should match the core contract. This is not recommended however if it can be avoided.

(Emphasis added)

Checking if the filename matches the contract might be a different rule, or everything could be done in the same rule, I'm not sure.

@dbale-altoros
Copy link
Collaborator

#487

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

No branches or pull requests

2 participants