From: Go MAEDA Date: Mon, 19 Sep 2022 05:46:24 +0000 (+0000) Subject: Disable RuboCop Style/Semicolon (#36919). X-Git-Tag: 5.1.0~434 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=60a7e6383e77156863aa336bed2b317690c8f202;p=redmine.git Disable RuboCop Style/Semicolon (#36919). git-svn-id: https://svn.redmine.org/redmine/trunk@21821 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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: