Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename custom rake task to
rubocop:autocorrect
Follow up #10547. This PR renames custom rake task from `rubocop:auto_correct` to `rubocop:autocorrect`. ## Before ```console rake rubocop # Run RuboCop rake rubocop:auto_correct # Autocorrect RuboCop offenses ``` ## After ```console rake rubocop # Run RuboCop rake rubocop:autocorrect # Autocorrect RuboCop offenses ``` For compatibility, `rubocop:auto_correct` task is left, but the task is deprecated and does not display in `rake -T`. When executed, the following warning will be displayed: ```console % bundle exec rake rubocop:auto_correct rubocop:auto_correct task is deprecated; use rubocop:autocorrect task instead. Running RuboCop... ```
- Loading branch information
Showing
4 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
changelog/change_rename_custom_rake_task_to_rubocop_autocorrect.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* [#10709](https://github.com/rubocop/rubocop/pull/10709): Rename custom rake task from `rubocop:auto_correct` to `rubocop:autocorrect`. ([@koic][]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters