Skip to content

Commit

Permalink
rake: Sort merged arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
ribose-jeffreylau committed Nov 9, 2023
1 parent 88d605f commit f5b401e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ namespace :build do
y = YAML.safe_load(File.read(full_path))
acc.deep_merge!(
y,
sort_merged_arrays: true,
extend_existing_arrays: true,
)
end
Expand Down
4 changes: 2 additions & 2 deletions ci/rubocop.rails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
---
AllCops:
Exclude:
- vendor/**/*
- db/**/*
- tmp/**/*
- db/schema.rb
- tmp/**/*
- vendor/**/*
DisplayCopNames: false
StyleGuideCopsOnly: false
TargetRubyVersion: 3.1
Expand Down
2 changes: 1 addition & 1 deletion ci/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
---
AllCops:
Exclude:
- vendor/**/*
- db/**/*
- tmp/**/*
- vendor/**/*
DisplayCopNames: false
StyleGuideCopsOnly: false
TargetRubyVersion: 3.1
Expand Down

0 comments on commit f5b401e

Please sign in to comment.