From 289233762524723cd49f87f4e7cda5a5cf6a9baa Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sat, 8 Jun 2024 10:07:10 +0200 Subject: [PATCH] Add rubocop explicitly as a dependency It would be nice to have the release notes for rubocop updates in the Dependabot's PRs, and we would still want to use it even if we remove the other more specialized sets of cops. --- Gemfile | 1 + Gemfile.lock | 1 + 2 files changed, 2 insertions(+) diff --git a/Gemfile b/Gemfile index 80f4266b..d07d0bf9 100644 --- a/Gemfile +++ b/Gemfile @@ -49,6 +49,7 @@ end group :development do gem 'annotate', '~> 3.2' # Remove workaround in lib/tasks/annotate.rb when https://github.com/ctran/annotate_models/issues/696 is fixed + gem 'rubocop', '~> 1.64' gem 'rubocop-factory_bot', '~> 2.26' gem 'rubocop-minitest', '~> 0.35.0' gem 'rubocop-rails', '~> 2.25' diff --git a/Gemfile.lock b/Gemfile.lock index a7b5bc92..68fade18 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -307,6 +307,7 @@ DEPENDENCIES pundit (~> 2.3) rack-cors (~> 2.0) rails (~> 7.1) + rubocop (~> 1.64) rubocop-factory_bot (~> 2.26) rubocop-minitest (~> 0.35.0) rubocop-rails (~> 2.25)