From 5e6032fecb780ad3ee2e2a2830afa35cead827a4 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 15 Oct 2019 17:25:53 +0000 Subject: [PATCH] rubocop: move Style/IdenticalConditionalBranches files from .rubocop_todo.yml to .rubocop.yml git-svn-id: http://svn.redmine.org/redmine/trunk@18687 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop.yml | 5 +++++ .rubocop_todo.yml | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 8fe639e80..0381fc488 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -86,3 +86,8 @@ Style/FrozenStringLiteralComment: Style/HashSyntax: Enabled: true EnforcedStyle: no_mixed_keys + +Style/IdenticalConditionalBranches: + Exclude: + - 'config/initializers/10-patches.rb' + - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 5d663a93e..56550bfac 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1078,11 +1078,6 @@ Style/GlobalVars: Style/GuardClause: Enabled: false -Style/IdenticalConditionalBranches: - Exclude: - - 'config/initializers/10-patches.rb' - - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' - # Configuration parameters: AllowIfModifier. Style/IfInsideElse: Enabled: false