I'm coming into a legacy code base which had no style guide. So as to no introduce too many changes, is there a way to by pass this check? https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Bundler/OrderedGems looking at docs and repo didn't yield a solution and trying to exclude Gemfile in rubocop.yml didn't work either.
AllCops:
NewCops: enable
Exclude:
- Gemfile
Add an exclusion for the
Bundler::OrderedGemscop to.rubocop.yml:Before:
After: