Closed corsonknowles closed 3 weeks ago
While beginning setup to look at branch coverage for ExcessiveDocstringSpacing, I found this behavior and thought we might document it.
ExcessiveDocstringSpacing
In this example, it autocorrects trailing empty lines without flagging them.
Before submitting the PR make sure the following are checked:
master
CHANGELOG.md
bundle exec rake
If you have created a new cop:
config/default.yml
Enabled: pending
Enabled: true
.rubocop.yml
VersionAdded: "<<next>>"
default/config.yml
If you have modified an existing cop's configuration options:
VersionChanged: "<<next>>"
Thank you!
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:
master
(if not - rebase it).CHANGELOG.md
if the new code introduces user-observable changes.bundle exec rake
) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).If you have created a new cop:
config/default.yml
.Enabled: pending
inconfig/default.yml
.Enabled: true
in.rubocop.yml
.VersionAdded: "<<next>>"
indefault/config.yml
.If you have modified an existing cop's configuration options:
VersionChanged: "<<next>>"
inconfig/default.yml
.