summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-20 17:05:13 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-20 17:05:13 +0000
commit33df60a6fa3b098730850f4b42a0c86dd5d52395 (patch)
treea1f2b3808006ff40e8359b0cdc99357b6f6c9d46
parenteb41a074ceef2e4e8f5d5356034f88a9d0412fc1 (diff)
downloadredmine-33df60a6fa3b098730850f4b42a0c86dd5d52395.tar.gz
redmine-33df60a6fa3b098730850f4b42a0c86dd5d52395.zip
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
-rw-r--r--.rubocop.yml4
-rw-r--r--.rubocop_todo.yml7
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
@@ -41,13 +41,6 @@ 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:
- 'test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb'