summaryrefslogtreecommitdiffstats
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-05-01 05:51:51 +0000
committerGo MAEDA <maeda@farend.jp>2022-05-01 05:51:51 +0000
commitd2ce08e794508fef3e952c3a6f98c2017e325cba (patch)
tree812fd4ed2c7c4538fe01a6791249aadddbac76ac /.rubocop.yml
parenta554e1d7bde390ad6a3316c08cef6ea02e2c37c6 (diff)
downloadredmine-d2ce08e794508fef3e952c3a6f98c2017e325cba.tar.gz
redmine-d2ce08e794508fef3e952c3a6f98c2017e325cba.zip
Update RuboCop to 1.28 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21547 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 9ff7d5e2f..be6dfc461 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -52,7 +52,7 @@ Layout/FirstHashElementIndentation:
Layout/LineLength:
Enabled: true
- IgnoredPatterns: ['\A\s+test \".+\" do\z', '\A\s*\#']
+ AllowedPatterns: ['\A\s+test \".+\" do\z', '\A\s*\#']
Exclude:
- 'db/migrate/0*.rb'
- 'db/migrate/1*.rb'
@@ -149,6 +149,9 @@ Style/BlockDelimiters:
- 'lib/redmine/string_array_diff/diff.rb'
- 'lib/redmine/string_array_diff/diffable.rb'
+Style/FetchEnvVar:
+ Enabled: false
+
Style/EmptyElse:
EnforcedStyle: empty