From 715fa903d07c3b65570e524774715626c11dbdad Mon Sep 17 00:00:00 2001 From: Teal Bauer <teal@starsong.eu> Date: Mon, 10 Mar 2025 00:54:01 +0100 Subject: [PATCH] Update for rubocop/-rails/-omakase changes --- .rubocop.yml | 9 ++++++--- Gemfile | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 3306cb8..ac7dabe 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,8 @@ -inherit_gem: { rubocop-rails-omakase: rubocop.yml } +inherit_gem: + rubocop-rails-omakase: rubocop.yml require: - - rubocop-capybara +- rubocop-capybara +plugins: +- rubocop-rails AllCops: - NewCops: enable + NewCops: enable diff --git a/Gemfile b/Gemfile index 0197d14..ad02efa 100644 --- a/Gemfile +++ b/Gemfile @@ -26,7 +26,7 @@ group :development, :test do # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem gem "debug", platforms: %i[mri windows] - gem "rubocop-rails-omakase", "~> 1.1" + gem "rubocop-rails-omakase", "~> 1.1", require: false gem "rubocop-capybara", "~> 2.21" end -- GitLab