-
Notifications
You must be signed in to change notification settings - Fork 382
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 summary comment to some rules with short description #1087
Add summary comment to some rules with short description #1087
Conversation
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.
Thanks, I will leave this PR open for a few days so that others can take a look as well and will merge then
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.
Looks good generally.
The rule names (in the comment before the colon) are probably redundant if the class name already encodes them -- better to just describe what the rule does.
Yes, I agree that the rule name in the comment is a bit superfluous and could even be replaced by an actual reference in xml comment syntax but this would be a much bigger change. This PR makes comments at least consistent, I will therefore merge this PR to resolve the issue of the PR creator. We could take further improvements afterwards if desired. |
@bergmeister Didn't realise that was the existing convention :) Agreed on all fronts |
…1087) * Add summary comment to some rules with short description * correct typo * add period * add period
Fixes #1083
Added some summary comments in /Rules/*.cs files. This will allow Codacy to get proper pattern definitions for this tool's integration