rubocop / rubocop-rspec

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

Document behavior of trailing empty lines for `ExcessiveDocstringSpacing` #1993

Closed corsonknowles closed 3 weeks ago

corsonknowles commented 3 weeks ago

While beginning setup to look at branch coverage for ExcessiveDocstringSpacing, I found this behavior and thought we might document it.

In this example, it autocorrects trailing empty lines without flagging them.


Before submitting the PR make sure the following are checked:

If you have created a new cop:

If you have modified an existing cop's configuration options:

ydah commented 3 weeks ago

Thank you!