We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ruby2_keywords
If method doesn't have kwargs, ruby2_keywords is useless, but sometime is used due to overlook. Rubocop should warn about
def xxx(foo) end ruby2_keywords :xxx
and alike to reduce useless code amount.
The text was updated successfully, but these errors were encountered:
Lint/Ruby2Keywords
[Fix rubocop#10202] Add new Lint/Ruby2Keywords cop.
56373fb
Merge pull request #10205 from dvandersluis/issue/10202
0a80ac5
[Fix #10202] Add new `Lint/Ruby2Keywords` cop
dvandersluis
Successfully merging a pull request may close this issue.
If method doesn't have kwargs,
ruby2_keywords
is useless, but sometime is used due to overlook. Rubocop should warn aboutand alike to reduce useless code amount.
The text was updated successfully, but these errors were encountered: