From 33df60a6fa3b098730850f4b42a0c86dd5d52395 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 20 Nov 2019 17:05:13 +0000 Subject: [PATCH] rubocop: move Layout/CaseIndentation exclude entry from .rubocop_todo.yml to .rubocop.yml git-svn-id: http://svn.redmine.org/redmine/trunk@19106 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop.yml | 4 ++++ .rubocop_todo.yml | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index a893304de..0412278c7 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -26,6 +26,10 @@ require: Bundler/OrderedGems: Enabled: false +Layout/CaseIndentation: + Exclude: + - 'config/initializers/10-patches.rb' + Layout/EmptyLineBetweenDefs: AllowAdjacentOneLineDefs: true diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index e91e986ef..badd847f3 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -40,13 +40,6 @@ Layout/AlignArguments: Layout/AlignHash: Enabled: false -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth. -# SupportedStyles: case, end -Layout/CaseIndentation: - Exclude: - - 'config/initializers/10-patches.rb' - # Cop supports --auto-correct. Layout/ClosingHeredocIndentation: Exclude: