-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip
LineLength
phase on --auto-gen-only-exclude
Phase 1 of config auto-generation runs the `Layout/LineLength` cop on all files to discover the `Max` line length, so it can be used by cops which depend on it. The `--auto-gen-only-exclude` config skips generating any `Max` configs, meaning phase 1 is redundant, as we won't generate the `Max` for use by phase 2. Therefore, we can skip phase 1 entirely.
- Loading branch information
1 parent
90b4283
commit 15fb5c7
Showing
3 changed files
with
21 additions
and
6 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
changelog/change_skip_line_length_phase_on_auto_gen_only_exclude.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 @@ | ||
* [#12730](https://github.com/rubocop/rubocop/pull/12730): Skip `LineLength` phase on `--auto-gen-only-exclude`. ([@sambostock][]) |
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