From d34a46a9d72330e86a06d2e5fec5bb5fa2fa0517 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 1 Apr 2023 08:35:06 +0900 Subject: [PATCH] Lint/NonDeterministicRequireOrder-20221115233401 (#107) * :police_car: regenerate rubocop todo * :police_car: Lint/NonDeterministicRequireOrder * :police_car: regenerate rubocop todo * remove exclude --------- Co-authored-by: Rubocop Challenger Co-authored-by: Mathieu Jobin <99191+mathieujobin@users.noreply.github.com> Co-authored-by: Mathieu Jobin --- .rubocop.yml | 4 ---- spec/spec_helper.rb | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 1f5f7d6..6565e06 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -16,10 +16,6 @@ AllCops: - 'Gemfile' - vendor/bundle/ruby/**/* -Lint/NonDeterministicRequireOrder: - Exclude: - - spec/spec_helper.rb - RSpec/NotToNot: SupportedStyles: to_not # disable because an error is being raised diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index bea53de..ea6d272 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -36,7 +36,7 @@ require 'factory_bot' # Load support -Dir['./spec/support/**/*.rb'].each do |filename| +Dir['./spec/support/**/*.rb'].sort.each do |filename| require filename end