From d935d31ddb56813e6a7b31d933af93b402af0ba6 Mon Sep 17 00:00:00 2001 From: david22swan Date: Tue, 30 Sep 2025 15:11:21 +0100 Subject: [PATCH] (CAT-2453) Implement rubocop plugins that have been moved out These plugins where previously included in the base rubocop setup but have since been moved out. --- .rubocop.yml | 7 +++++-- .rubocop_todo.yml | 2 +- Gemfile | 7 +++++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index b18d58ca..07b2c60b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,8 +1,11 @@ inherit_from: .rubocop_todo.yml -require: - - rubocop-performance +plugins: - rubocop-rspec + - rubocop-rspec_rails + - rubocop-performance + - rubocop-factory_bot + - rubocop-capybara AllCops: Include: diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 96e0327d..7b87768e 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2025-09-30 12:45:13 UTC using RuboCop version 1.73.2. +# on 2025-09-30 14:10:58 UTC using RuboCop version 1.73.2. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new diff --git a/Gemfile b/Gemfile index adad0281..6fb24dc3 100644 --- a/Gemfile +++ b/Gemfile @@ -15,8 +15,11 @@ group :development do gem 'puppetfile-resolver', '~> 0.6.2', :require => false gem 'yard', '~> 0.9.28', :require => false gem "rubocop", '~> 1.73.0', :require => false - gem "rubocop-performance", '~> 1.24.0', :require => false - gem "rubocop-rspec", '~> 3.5.0', :require => false + gem "rubocop-performance", '~> 1.24.0', :require => false + gem "rubocop-rspec", '~> 3.5.0', :require => false + gem 'rubocop-rspec_rails', '~> 2.31.0', :require => false + gem 'rubocop-factory_bot', '~> 2.27.0', :require => false + gem 'rubocop-capybara', '~> 2.22.0', :require => false gem 'simplecov', :require => false gem 'simplecov-console', :require => false gem 'json', "< 2.8.0", :require => false