summaryrefslogtreecommitdiffstats
path: root/.rubocop_todo.yml
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-12-11 05:43:36 +0000
committerGo MAEDA <maeda@farend.jp>2021-12-11 05:43:36 +0000
commit11d88cb7c4ef935720a92435b4128e358614ca42 (patch)
tree2b8435a3b3986ea70be08736f392a53fd6ee040c /.rubocop_todo.yml
parentf640c7df73f7550113b9dd01d2438132f5429332 (diff)
downloadredmine-11d88cb7c4ef935720a92435b4128e358614ca42.tar.gz
redmine-11d88cb7c4ef935720a92435b4128e358614ca42.zip
Update RuboCop Rails to 2.12 (#35207).
git-svn-id: http://svn.redmine.org/redmine/trunk@21307 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r--.rubocop_todo.yml23
1 files changed, 16 insertions, 7 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index c7ae2ac1f..20d70b637 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -13,11 +13,6 @@ Layout/ArgumentAlignment:
Enabled: false
# Cop supports --auto-correct.
-Layout/ClosingParenthesisIndentation:
- Exclude:
- - 'app/helpers/journals_helper.rb'
-
-# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: leading, trailing
Layout/DotPosition:
@@ -580,7 +575,6 @@ Performance/RedundantSplitRegexpArgument:
- 'lib/redmine/wiki_formatting/textile/redcloth3.rb'
# Cop supports --auto-correct.
-# Configuration parameters: AutoCorrect.
Performance/StringInclude:
Exclude:
- 'test/functional/versions_controller_test.rb'
@@ -660,7 +654,8 @@ Rails/Blank:
# Cop supports --auto-correct.
Rails/ContentTag:
- Enabled: false
+ Exclude:
+ - 'lib/redmine/wiki_formatting/markdown/formatter.rb'
# Configuration parameters: Include.
# Include: db/migrate/*.rb
@@ -770,10 +765,15 @@ Rails/HasManyOrHasOneDependent:
- 'app/models/document_category.rb'
- 'app/models/issue_priority.rb'
- 'app/models/issue_status.rb'
+ - 'app/models/principal.rb'
- 'app/models/project.rb'
+ - 'app/models/repository.rb'
+ - 'app/models/repository/mercurial.rb'
- 'app/models/time_entry_activity.rb'
- 'app/models/tracker.rb'
+ - 'app/models/user.rb'
- 'app/models/wiki.rb'
+ - 'app/models/wiki_page.rb'
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
@@ -855,6 +855,7 @@ Rails/MatchRoute:
Rails/NegateInclude:
Enabled: false
+# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb
Rails/Output:
@@ -931,6 +932,14 @@ Rails/RedundantForeignKey:
- 'app/models/query.rb'
- 'app/models/role.rb'
+# Cop supports --auto-correct.
+# Configuration parameters: Include.
+# Include: spec/**/*.rb, test/**/*.rb
+Rails/RedundantTravelBack:
+ Exclude:
+ - 'test/integration/sudo_mode_test.rb'
+ - 'test/system/sudo_mode_test.rb'
+
Rails/ReflectionClassName:
Exclude:
- 'lib/redmine/nested_set/issue_nested_set.rb'