rubocop / rubocop-rspec

Code style checking for RSpec files.
https://docs.rubocop.org/rubocop-rspec
MIT License
805 stars 277 forks source link

Remove unnecessary `on_numblock` method #1889

Closed yasu551 closed 4 months ago

yasu551 commented 4 months ago

Because numbered parameters are rarely used with let.


Before submitting the PR make sure the following are checked:

ydah commented 4 months ago

memo) It is true that the numbered parameter is not used for let, so it is disabled: https://github.com/rubocop/rubocop-rspec/blob/306061220137110d325d1eac4a6a328750aab700/lib/rubocop/cop/rspec/empty_line_after_final_let.rb#L26