summaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-02-19 13:45:34 +0000
committerGo MAEDA <maeda@farend.jp>2020-02-19 13:45:34 +0000
commit5873af5ae32cf901071738efb8decadc0e9428c0 (patch)
treea4fee909abbd124ab211e4a392c60d44d2214102 /.rubocop.yml
parent6f603f285f4b8514bf42efe90fe62f571ff715ca (diff)
downloadredmine-5873af5ae32cf901071738efb8decadc0e9428c0.tar.gz
redmine-5873af5ae32cf901071738efb8decadc0e9428c0.zip
Update RuboCop to 0.80 (#32530).
git-svn-id: http://svn.redmine.org/redmine/trunk@19522 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index a383a9172..73f1d18f0 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -96,10 +96,19 @@ Style/FrozenStringLiteralComment:
- 'config.ru'
- 'config/additional_environment.rb'
+Style/HashEachMethods:
+ Enabled: true
+
Style/HashSyntax:
Enabled: true
EnforcedStyle: no_mixed_keys
+Style/HashTransformKeys:
+ Enabled: true
+
+Style/HashTransformValues:
+ Enabled: true
+
Style/IdenticalConditionalBranches:
Exclude:
- 'config/initializers/10-patches.rb'