summaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-12-20 08:13:48 +0000
committerGo MAEDA <maeda@farend.jp>2023-12-20 08:13:48 +0000
commitc8640d7ffc28b1632106e2d2bc33f5d792d644fc (patch)
tree221c5cd85f75561695faf6c4d795d0263f2a5cc3 /.rubocop.yml
parentd9ef2d191cdb3d04508530275bc99c3710820fcb (diff)
downloadredmine-c8640d7ffc28b1632106e2d2bc33f5d792d644fc.tar.gz
redmine-c8640d7ffc28b1632106e2d2bc33f5d792d644fc.zip
Fix RuboCop offense Style/HashEachMethods (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22532 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index b30000672..4fae950f0 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -221,6 +221,11 @@ Style/GlobalStdStream:
Style/HashSyntax:
EnforcedStyle: no_mixed_keys
+Style/HashEachMethods:
+ Exclude:
+ - 'db/migrate/072_add_enumerations_position.rb'
+ - 'db/migrate/078_add_custom_fields_position.rb'
+
Style/IdenticalConditionalBranches:
Exclude:
- 'config/initializers/10-patches.rb'