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 rule to named return parameters and add config option to check Stutter #1

Merged
merged 3 commits into from
Jun 22, 2015

Conversation

JekaMas
Copy link

@JekaMas JekaMas commented Jun 22, 2015

Good day!
There are two additions: taken out variable settings for checking the names of variables, if they begin with the name of the package; and added a check on the use of named return values. I think that this test should be added, because when you use named parameters, you can create very difficult to perceptible errors when, by mistake or misspelling, use "=" instead of "=" - thus there will be shadowing variables and will not give any error, because the returned variable is already initialized.

elgris added a commit that referenced this pull request Jun 22, 2015
Add rule to named return parameters and add config option to check Stutter
@elgris elgris merged commit c9874ca into elgris:master Jun 22, 2015
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

Successfully merging this pull request may close these issues.

2 participants