-
Notifications
You must be signed in to change notification settings - Fork 956
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
Fixing Comment Formatting According to Best Linter Practices #98
Conversation
…. Cleaned up comment formatting across our packages
LGTM. Do we need to do this for tests as well? |
No need to do this for test files @terenc3t |
Great. Thanks for the fixes! |
// * Verifies or deploys the sharding manager contract. | ||
// Start the sharding client | ||
// Connects to Geth node | ||
// Verifies or deploys the sharding manager contract | ||
func (c *shardingClient) Start() error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey below can you add the comment to SMCTransactor()
also
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I think we can merge it in
Isn’t it best practice to end comments with punctuation? Like a sentence? |
Fixing Comment Formatting According to Best Linter Practices
Fixing Comment Formatting According to Best Linter Practices Former-commit-id: 07a948d
Hi all,
This is a quick PR done to fix the comment formatting across our packages. I always get warnings from my linters in VSCode due to the problem of not commenting exported types. This is something we should do and is best practice. For example, if I create a type:
We have to add a comment above that begins with the name of the type as follows:
Also removed punctuation from some comments in order to be consistent with our other comments throughout our packages.