Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
inherit_mode
for arrays in extension default
See rubocop/rubocop-rspec#1126 `config/default.yml`: ```yaml RSpec: Language: Examples: inherit_mode: merge: - Regular Regular: - it - specify - example - scenario - its ``` `.rubocop.yml`: ```yaml require: - rubocop-rspec RSpec: Language: Examples: Regular: - mycustomexamplealias ``` Previously, locally-set `inherit_mode` in extension default configuration was not respected.
- Loading branch information
Showing
3 changed files
with
75 additions
and
6 deletions.
There are no files selected for viewing
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 @@ | ||
* [#9952](https://github.com/rubocop/rubocop/pull/9952) [rubocop-rspec#1126](https://github.com/rubocop/rubocop-rspec/issues/1126): Fix `inherit_mode` for deeply nested configuration defined in extensions' default configuration. ([@pirj][]) |
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