From 60a7e6383e77156863aa336bed2b317690c8f202 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 19 Sep 2022 05:46:24 +0000 Subject: [PATCH] Disable RuboCop Style/Semicolon (#36919). git-svn-id: https://svn.redmine.org/redmine/trunk@21821 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop.yml | 3 +++ .rubocop_todo.yml | 17 ----------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index adca4494b..6c94995bb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -204,6 +204,9 @@ Style/NegatedIfElseCondition: Style/RaiseArgs: Enabled: false +Style/Semicolon: + Enabled: false + Style/SlicingWithRange: Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index de3a00c03..259105a4b 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1696,23 +1696,6 @@ Style/SelfAssignment: - 'lib/redmine/helpers/gantt.rb' - 'lib/redmine/helpers/time_report.rb' -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: AllowAsExpressionSeparator. -Style/Semicolon: - Exclude: - - 'app/controllers/account_controller.rb' - - 'app/controllers/context_menus_controller.rb' - - 'app/controllers/journals_controller.rb' - - 'app/controllers/messages_controller.rb' - - 'app/controllers/repositories_controller.rb' - - 'app/models/journal.rb' - - 'app/models/mail_handler.rb' - - 'app/models/query.rb' - - 'lib/redmine/configuration.rb' - - 'lib/redmine/scm/adapters/git_adapter.rb' - - 'lib/redmine/sort_criteria.rb' - - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' - # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowIfMethodIsEmpty. Style/SingleLineMethods: -- 2.39.5