From ede03bca964f08981b29e3f33a31b6de79b890f1 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 14 Jan 2026 11:35:01 +0000 Subject: [PATCH] Move cop todo list to rubocop_todo.yml Now that we have less than 15 files remaining, it's no longer necessary to configure them explicitly. `rubocop --auto-gen-config` will list just the remaining files, without disabling the cop entirely --- .rubocop.yml | 14 -------------- .rubocop_todo.yml | 18 +++++++++++++++++- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 83e2dc35a..fd88740ed 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -129,17 +129,3 @@ Rails/SpecificActionNames: - destroy Include: - app/controllers/**/*.rb - Exclude: - # This is a todo list, but is currently too long for `rubocop --auto-gen-config` - - 'app/controllers/api/notes_controller.rb' - - 'app/controllers/api/user_preferences_controller.rb' - - 'app/controllers/api/users_controller.rb' - - 'app/controllers/changesets_controller.rb' - - 'app/controllers/confirmations_controller.rb' - - 'app/controllers/diary_comments_controller.rb' - - 'app/controllers/diary_entries_controller.rb' - - 'app/controllers/errors_controller.rb' - - 'app/controllers/issues_controller.rb' - - 'app/controllers/site_controller.rb' - - 'app/controllers/traces_controller.rb' - - 'app/controllers/users_controller.rb' diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a416804f9..ae8a0db67 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2026-01-14 11:29:44 UTC using RuboCop version 1.82.1. +# on 2026-01-14 11:34:22 UTC using RuboCop version 1.82.1. # 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 @@ -127,6 +127,22 @@ Rails/OutputSafety: - 'lib/rich_text.rb' - 'test/helpers/application_helper_test.rb' +# Offense count: 41 +Rails/SpecificActionNames: + Exclude: + - 'app/controllers/api/notes_controller.rb' + - 'app/controllers/api/user_preferences_controller.rb' + - 'app/controllers/api/users_controller.rb' + - 'app/controllers/changesets_controller.rb' + - 'app/controllers/confirmations_controller.rb' + - 'app/controllers/diary_comments_controller.rb' + - 'app/controllers/diary_entries_controller.rb' + - 'app/controllers/errors_controller.rb' + - 'app/controllers/issues_controller.rb' + - 'app/controllers/site_controller.rb' + - 'app/controllers/traces_controller.rb' + - 'app/controllers/users_controller.rb' + # Offense count: 16 Rails/ThreeStateBooleanColumn: Exclude: -- 2.39.5