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
Example
puts format('%0*x', 2, 1)
Rubocop output
$ cat test.rb puts format('%0*x', 2, 1) $ rubocop -V 0.35.1 (using Parser 2.2.3.0, running on ruby 2.2.3 x64-mingw32) $ rubocop test.rb Inspecting 1 file W Offenses: test.rb:1:6: W: Number arguments (2) to format mismatches expected fields (0). puts format('%0*x', 2, 1) ^^^^^^ 1 file inspected, 1 offense detected
I think it is not offense, so Rubocop should not report it.
The text was updated successfully, but these errors were encountered:
Thanks for the report! It will be looked into soon.
Sorry, something went wrong.
@taichi-ishitani, thank you for reporting this issue. I have pushed a fix to my open PR, which hopefully will be merged soon.
0ee9c62
Hi @alexdowad san, I have confirmed this issue is resolved with the latest Rubocop. Thank you for your support!
どういたしまして。RuboCopを楽しんで使ってください!
@alexdowad You know Japanese? Impressive! :-)
No branches or pull requests
Example
Rubocop output
I think it is not offense, so Rubocop should not report it.
The text was updated successfully, but these errors were encountered: