Skip to content

Commit

Permalink
Better cop rename examples
Browse files Browse the repository at this point in the history
  • Loading branch information
pirj authored May 24, 2024
1 parent 3066560 commit 2267144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/development.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ Use the following rules to give the new cop a name:
* Lines with no symbols are called "empty", not "blank", e.g. `LeadingEmptyLines` instead of `LeadingBlankLines`
* Prefer "redundant" to "unneeded", e.g. `RedundantSelf` instead of `UnneededSelf`

See the https://github.com/rubocop/rubocop-rspec/blob/dad11fc2d341f88d395b7196f78c7ba67fcb4c17/config/obsoletion.yml["renamed" section of `config/obsoletion.yml`]
See the https://github.com/rubocop/rubocop/blob/12fd014e255617a08b7b42aa5df0745e7382af88/config/obsoletion.yml#L4["renamed" section of `config/obsoletion.yml`]
for good and bad examples (old name is on the left, new name on the right).

0 comments on commit 2267144

Please sign in to comment.